COMCLR


 

The COMCLR instruction resets communication activity for a COMFILE. The instruction uses the following format:

 

 

[label]

COMCLR

{comfile}

 

Where:

label

Optional. A Program Execution Label.

comfile

Required. A previously defined COMFILE definition.

Flags Affected: NONE

Note the following:

  1. COMCLR clears any error conditions.

  2. Under RMSRAS only, COMCLR also terminates any pending write operations and clears the read buffer.

  3. If {comfile} is not open, the instruction is ignored.

 

 

See Also: COMOPEN, Communication I/O Instructions

 



PL/B Language Reference COMCLOSE COMOPEN