Previous Topic: &ZAPPCELP

Next Topic: &ZAPPCIDA


&ZAPPCID

Returns an integer when using the APPC facility.

The integer returned is within the range of 1 to 2147483647, and is equivalent to the usage of the LU6.2 verb RESOURCE parameter. It is set following successful completion of an &APPC ALLOCATE request, or after a procedure is first invoked as the conversation partner following an allocation request at the remote end.

The conversation identifier is assigned on a system-wide basis to uniquely identify a particular conversation within the local system. Local allocation requests and attach requests (following remote allocation requests) are both assigned unique identifiers. This means that the local and remote end of a same-LU conversation (for example started using the LOCAL option on an &APPC ALLOCATE request) have different conversation identifiers.

Example: &ZAPPCID

&IF &ZAPPCID NE &CONVB &THEN +
  &APPC TEST ID=&CONVB