ILE COBOL Programmer's Guide
The following restrictions apply to the statements within input procedures
and output procedures:
- The input procedures and output procedures must not contain any SORT or
MERGE statements.
- The input procedures and output procedures must not contain any STOP RUN,
EXIT PROGRAM, or GOBACK statements.
- A CALL statement to another program is permitted. The called
program cannot perform a SORT or MERGE statement.
- You can use ALTER, GO TO, and PERFORM statements in the input procedures
and output procedures to refer to procedure names outside the input procedure
or output procedure; however, you must return to the input procedure or
output procedure after a GO TO or PERFORM statement. Any COBOL
procedure performed as a result of the GO TO statement or PERFORM statement
must not contain any SORT or MERGE statements.
- The remainder of the Procedure Division must not contain any transfers of
control to points inside the input procedure or output procedure (with the
exception of the return of control from a Declarative Section).
- During a sort or merge operation, the SD data item is used. You
should not use it in the output procedure before a RETURN statement is
performed.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.