XCTL command
Transfers control from one application program to another at the same logical level. In Smalltalk, the parameters of the XCTL command are contained in two classes: CICSXctl and CICSXctlResult.
See CICS Application Programming Reference for the syntax of the command and a description of its parameters.
Defined instance methods
Parameters supplied to CICS in CICSXctl
 
Parameter
Instance method
Mode
Type
Notes/exceptions
COMMAREA(data-area)
commarea:
Input
Variable
 
LENGTH(data-value)
length:
Input
Binary 16
 
PROGRAM(name)
program:
Input
Fixed(8)
 
Parameters returned by CICS in CICSXctlResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
RESP
resp
Output
Fixed(2)
Inherited from CICSResult.
RESP2
resp2
Output
Fixed(2)
Inherited from CICSResult.
Example
Transfers control to the program using the communication area MyCommarea, which is a subclass of OsPtr.
| result thisComm |
thisComm := MyCommarea calloc.
result := CICS xctl
program: 'CICSSLK2';
commarea: thisComm;
length: 30;
exec.
Last modified date: 07/09/2019