|
EXTRACT PROCESS |
|
|
EXTRACT PROCESS lets an application program access conversation-related data, specified to CICS when the program is attached. The attach receiver does not have to execute an EXTRACT PROCESS command unless it requires this information. The EXTRACT PROCESS command is valid only on an APPC conversation that is the principal facility for the task.
Options CONVID(name) identifies the conversation to which the command relates. The 4-character name identifies the token representing the principal session (EIBTRMID). For compatibility with earlier releases, SESSION is accepted as a synonym for CONVID. New programs should use CONVID. If CONVID and SESSION are both omitted, the principal facility for the task is used by default.
MAXPROCLEN(data-value) specifies the buffer length of PROCNAME. If MAXPROCLEN is not specified, the buffer is assumed to have 32 bytes. PROCLENGTH(data-area) specifies a halfword data area that is set by CICS to the length of the process name. If PROCNAME is specified, this option must be specified. PROCNAME(data-area) specifies the data area to receive the process name specified by the remote system that caused the task to start. The data area can be 1-64 bytes long. The process name is padded on the right with blanks if it is too short. The PROCNAME data area should not be shorter than the MAXPROCLEN value. SYNCLEVEL(data-area) specifies a halfword data area that is set by CICS to the SYNCLEVEL value. |