z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


E15 procedure division requirements

z/OS DFSORT Application Programming Guide
SC23-6878-00

When coding the PROCEDURE DIVISION, the following requirements must be met:
  • To return control to DFSORT, you must use the GOBACK statement.
  • In the USING option of the PROCEDURE DIVISION header, you must specify each 01-level name in the LINKAGE SECTION. You must specify each name in order up to the last one you plan to use even when you do not use all the 01-level names preceding the header.

    Examples:

    For the FLR example, Figure 1, you would code:
           PROCEDURE DIVISION USING RECORD-FLAGS, NEW-REC,
                    RETURN-REC, UNUSED1, UNUSED2, UNUSED3,
                    UNUSED4, UNUSED5, EXITAREA-LEN, EXITAREA.
    For the VLR example, Figure 2, you would code:
           PROCEDURE DIVISION USING RECORD-FLAGS, NEW-REC,
                    RETURN-REC, UNUSED1, UNUSED2,
                    NEW-REC-LEN, RETURN-REC-LEN,
                    UNUSED3, EXITAREA-LEN, EXITAREA.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014