To begin the Procedure Division for batch programs

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. Depending on the type of batch program you are coding, in the Program Painter, type NTRY or PROC in columns 4 through 7 as follows:

    Program Type

    Keyword

    Calling or non-calling

    NTRY or PROC. Both keywords generate a PROCEDURE DIVISION statement.

    Called

    PROC with optional USING clause. PROC generates a PROCEDURE DIVISION USING statement; the program receives data items from a calling program CALL statement.

  2. Type its arguments, such as the linkage record, in column 12. For example:
       PROC    USING LINKAGE-RECORD
    Generated AMB Source:
    PROCEDURE DIVISION USING LINKAGE-RECORD.