ASSIGN command
Gets values from outside the application's local environment. In Smalltalk, the parameters of the ASSIGN command are contained in two classes: CICSAssign and CICSAssignResult.
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 CICSAssign
None.
Parameters returned by CICS in CICSAssignResult
 
Parameter
Instance method
Mode
Type
Notes/exceptions
ABCODE(data-area)
abcode
Output
Fixed(4)
 
APPLID(data-area)
applid
Output
Fixed(8)
 
CWALENG(data-area)
cwaleng
Output
Binary 16
 
FACILITY(data-area)
facility
Output
Fixed(4)
 
NETNAME(data-area)
netname
Output
Fixed(8)
 
PRINSYSID(data-area)
prinsysid
Output
Fixed(4)
 
QNAME(data-area)
qname
Output
Fixed(4)
 
RESP
resp
Output
Fixed(2)
Inherited from CICSResult. Always returns zero.
RESP2
resp2
Output
Fixed(2)
Inherited from CICSResult. Always returns zero.
STARTCODE(data-area)
startcode
Output
Fixed(2)
 
SYSID(data-area)
sysid
Output
Fixed(4)
 
TCTUALENG(data-area)
tctualeng
Output
Binary 16
 
TWALENG(data-area)
twaleng
Output
Binary 16
 
USERID(data-area)
userid
Output
Fixed(8)
 
Example
Finds the current user ID.
| result userID |
result := CICS assign exec.
userID := result userid.
Last modified date: 05/11/2020