Previous Topic
Table Of Contents
Parent Topic
Next Topic

The 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 REXX-language SWSAPDIS built-in function can be used to drop APPC connections between the Shadow OS/390 Web Server for IMS and IMS v4.1 and above. A call to this function disconnects IMS.

Upon return from the call, the following Rexx variables are used:

APPC.STMTHDL The statement handle for the interface call.
APPC.RETCODE The APPC Interface return code.

SWSAPDIS Syntax

The general form for a REXX-language invocation of SWSAPDIS is:


   rc = SWSAPDIS("Connection Type")

SWSAPDIS Example

     /*-------------------------------------------------------------*/
     /* disconnect the ims transaction                              */
     /*-------------------------------------------------------------*/
 
     rc = swsapdis('ims')
     end
  
or 
     /*-------------------------------------------------------------*/
     /* disconnect the ims transaction                              */
     /*-------------------------------------------------------------*/
 
     rc = swsapdis('imsconv')
     end

Top