Previous Topic
Table Of Contents
Parent Topic
Next Topic

The High-Level Language for SWSAPDIS Function

Related Topics

Web Server API Function Index


May be used in Shadow/REXX
May be used from Other REXX Interpreters
High-level Language Interface 

The High-Level Language SWSAPDIS Function can be used to drop APPC connections between the Shadow OS/390 Web Server for IMS and IMS v4.1 and above.

Type Argument Use

Description

ptr hstmt input Statement handle.

Note: Because only one host rpc can execute at a time for each host session, this value is ignored and must be zero.

S9(5) sql-appc-type input Connection type. This should always be set to IMS.
S9(9) atb-retcode output The return code that is sent to the local program.

gfGrayBr.gif (1830 bytes)

Return Values

Possible values are:

SWS_SUCCESS
The operation succeeded. The specified operation was performed.
SWS_ERROR
A parameter validation or run-time error was encountered. Error information is available using the SWSERROR function.
SWS_ENVIRONMENT_ERROR
The request can not be processed because of a run-time environmental error. For example, you invoked the API service outside of a Web transaction procedure or from outside the server's address space. Use the server's wrap-around trace to obtain diagnostic information.
 

Example

CALL 'SDCPAR' USING STATEMENT-HANDLE
SQL-APPC-TYPE
ATB-RETCODE

Top