CIC-ASSIGN

Obtain values outside the program and assign them to a Working-Storage data area in the current program.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Target:

CICS

Syntax:

CIC-ASSIGN CICSoption(dataarea) 
[CICSoption(dataarea)....]

... [ERROR(errorpara)]

Parameters:

CICSoption

Valid CICS option. See your CICS reference manual for more information.

(dataarea)

COBOL data name containing the result of the call.

(errorpara)

User-defined error routine to perform when an abnormal condition occurs.

Example:

Obtain a value outside the application program and assign it to a user-defined area.
CIC-ASSIGN APPLID(WS-APPLID)
... ERROR(ERROR-PARA)