Request values from outside the local environment of the application program.
The ASSIGN command gets values from outside the local environment of the application program. The data obtained depends on the specified options. You can specify up to 16 options in one ASSIGN command.
For options that apply to terminals or terminal-related data, the reference is always to the principal facility.
If the principal facility is a remote terminal, the data returned is obtained from the local copy of the information; the request is not routed to the system to which the remote terminal is attached.
Transaction routing is, as far as possible, transparent to the ASSIGN command. In general, the values returned are the same whether the transaction is local or remote.
EXEC CICS ASSIGN TWALENG(data-value) END-EXEC.
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!