Previous Topic: Operational ConsiderationsNext Topic: System Limits


CA IDMS/DC Sort System Flow

CA IDMS/DC Sort provides preprocessors for use with COBOL, Assembler, PLI, and CA ADS. The preprocessors use SETSORT, PUTSORT, GETSORT, ENDSORT, and SETLIMIT statements to generate required programming logic for CA IDMS/DC Sort.

A diagram of system flow is shown in Exhibit 5.1. The application program, including CA IDMS/DC Sort parameter statements, is fed into the CA IDMS/DC Sort precompiler. Then the program is compiled and linked.

At execution time, if the PROGRAM option was selected in the SETSORT statement, the program issues calls to CA IDMS/DC Sort. Then the sorts are done by CA IDMS/DC Sort, using main and auxiliary sort-work areas as necessary. After the sorts are completed, the results are displayed as directed by the application.

If the USER option was selected in the SETSORT statement, before the sorting is done CA IDMS/DC Sort presents the user with a sequence selection screen, where the user can designate up to 16 sort keys and the sort order (ascending or descending) for each key.

Exhibit 5.1: CA IDMS/DC Sort System Flow