For its sort requirements, the ADACDC utility uses a standard sort function installed in the operating system. The following additional considerations should be taken into account for each operating system.
This document covers the following topics:
Note:
Regardless of platform, special sorts of the primary output file and
the transaction file are required if ADACDC is to be run for a file for which
ISNs can be reused (ADADBS or ADALOD ISNREUSE is specified). For complete
information, read Using
ADACDC With ISNREUSE.
No additional job steps are required by ADACDC when the sort function is invoked. However, depending on the amount of data to be sorted, the ADACDC job step may require additional sort-related DD statements for work files or for other sort-specific facilities. Refer to the sort documentation for more details.
Note:
A sort package generally supplies summary information when a SYSOUT
DD statement is specified.
When ADACDC invokes sort, it expects by default to transfer control to a load module named 'SORT'. If the sort module has a different name, you must reassemble and link the Adabas options module ADAOPD, specifying the name of the external sort program as follows:
Modify the OPDOS member, specifying the name of the sort program in parameter SORTPGM=.
Modify and run member ASMLOPD to assemble and link the module ADAOPD.
Whenever an external sort may be called, an ADACDC utility job must reserve space in the partition area. The EXEC statement must therefore specify the SIZE parameter as either
// EXEC ADARUN,SIZE=(ADARUN,128K)
or
// EXEC ADARUN,SIZE=(AUTO,128K)
No additional job steps are required by ADACDC when the sort function is invoked. However, depending on the amount of data to be sorted, the ADACDC job step may require additional sort-related DLBL statements for work files or for other sort-specific facilities. Refer to the sort documentation for more details.
When ADACDC invokes sort, it expects by default to transfer control to a load module named 'SORT'. If the sort module has a different name, the Adabas options module ADAOPD must first be reassembled and relinked with the correct name of the sort module in parameter SORTPGM. See Modify, Assemble, and Link the Adabas Options Table in the section VSE Systems Installation of the Adabas Installation documentation for VSE.
The Fujitsu Technology Solutions external sort may be called for large sort operations. The following job cards are required.
/SET-FILE-LINK BLSLIBnn,$.SORTLIB /SET-FILE-LINK SORTWK1,#SORTWK,BUF-LEN=STD(2),OPEN-MODE=OUTIN /CREATE-FILE #SORTWK,PUB(SPACE=(&PRIM,&SEC)) /START-PROGRAM .....,RUN-MODE=ADVANCED,ALT-LIBRARY=YES
where
nn | is a value between 00 and 99 |
#SORTWK | was created with the BS2000 command |
&PRIM | is the number of primary PAM pages to allocate |
&SEC | is the number of secondary PAM pages to allocate |
Note:
The size of the SORTWK1 file depends on the amount of data to be
sorted.