The PURGE statement eliminates from the Message Control System (MCS) a partial message that has been released by one or more SEND statements.

PURGEcd-name-1 cd-name-1

must reference an output CD or an input-output CD.

Execution of a PURGE statement causes the MCS to eliminate any partial message awaiting transmission to the destinations specified in the CD referred to by cd-name-1.

Any message that has associated with it an EMI or EGI is not affected by the execution of a PURGE statement.

The contents of the status key data item and the contents of the error key data item (if applicable) of the area referenced by cd-name-1 are updated by the MCS.

PURGE Statement Examples

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

COBOL Topics