HP 3000 Manuals

Perform Statements [ Micro Focus COBOL Compatibility Guide ] MPE/iX 5.0 Documentation


Micro Focus COBOL Compatibility Guide

Perform Statements 

PERFORM statements are not treated in the same way by both COBOL systems.
This COBOL system uses a stack-based perform handling system while the
RM/COBOL system associates a return address with a specific procedure
name.  As a result under the RM/COBOL system all end-points to PERFORM
statements are always active until they are used.  However under this
system only the end-point of the last PERFORM statement is active at any
one time.

You must set the PERFORM-TYPEdirective with the RM parameter if this
COBOL system is to emulate the behavior of RM/COBOL PERFORM statements.
See your COBOL System Reference for details.



MPE/iX 5.0 Documentation