Using the EXEC CICS ASSIGN command in the AOR

You may find that two of the options of the EXEC CICS® ASSIGN command return unexpected values.

PRINSYSID
This option returns the sysid of the principal facility to the transaction. The value returned is the name of the remote connection or terminal defined in this system. If the connection or terminal has been shipped, the name is the original name defined in the TOR. If the principal facility is not an APPC session, the INVREQ condition is raised.
USERID
For a routed transaction, CICS takes the userid from one of several sources, depending on how you specified your security requirements. See the CICS RACF® Security Guide.

As Table 10 shows, CICS returns the following values:

Table 10. Values returned by the USERID option of EXEC CICS ASSIGN, for routed transactions
TOR’s DFHSIT SEC= ATTACHSEC value in CONNECTION definition
IDENTIFY
VERIFY
PERSISTENT
MIXIDPE
LOCAL
AOR’s DFHSIT SEC=YES or MIGRATE AOR’s DFHSIT SEC=NO
YES
or
MIGRATE
Userid sent at attach  ISC
  1. USERID of session
  2. SECURITYNAME of connection

 MRO
RACF userid of TOR
DFLTUSER of AOR
NO Userid sent at attach (DFLTUSER of TOR)

Related concepts
Things to watch out for
[[ Contents Previous Page | Next Page Index ]]