Include a sort file description.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
Syntax:
SD sortfilename
[Applicable COBOL SD clauses]
Examples:
IO INPUT-FILE ASSIGN TO UT-S-INPUT
IO OUTPUT-FILE ASSIGN TO UT-S-OUTPUT
SPNM C01 IS TOP-OF-PAGE
FD INPUT-FILE
LABEL RECORDS ARE STANDARD
BLOCK CONTAINS 0 RECORDS
01 INPUT-RECORD PIC X(80)
.
.
FD OUTPUT-FILE
LABEL RECORDS ARE STANDARD
BLOCK CONTAINS 0 RECORDS
01 OUTPUT-RECORD PIC X(80)
.
.
SD SORT-FILE
RECORD CONTAINS 80 CHARACTERS
DATA RECORD IS SORT-RECORD
01 SORT-RECORD PIC X(80)
.
.
Comments: