COMFILE


 

The COMFILE instruction defines a control area for communications. The instruction uses the following format:

 

 

[label]

COMFILE

[*]

 

Where:

label

Optional. A Program Execution Label.

*

Optional. Denotes the item as being COMMON.

Flags Affected: NONE

Note the following:

  1. A COMFILE must have been defined with a COMFILE definition instruction before being referenced in a communication I/O instruction.

  2. If the operand field begins with an asterisk (*), the control area is a Common Data Item. An attempt is made to maintain the status of a corresponding declaration in the program that initiated the chain. However, if the UDA of the chained to program is not in alignment (same File Definition types, sizes, and locations) with those in the program that initiated the CHAIN, a CHAIN error occurs.

 

 

See Also: Example Code, File Definitions, Communications I/O Instructions

 



PL/B Language Reference BFILE FILE