Program structure and data flow of PSSR
PSSR runs in a batch environment, either IMS™ batch environment or non IMS batch environment.
Non IMS batch environment
In non IMS batch environment, the following two DFSORT exit routines are used:
PSSR is executed by adding a DFSORT step between the unload and reload steps in a normal database reorganization job.
The following figure shows the general data flow for PSSR in a non IMS batch environment. In addition to supplying input through the SYSIN and CTL (user's requests) data sets, use also the DBDs to control the operation of FABSRT15 and FABSRT35.
IMS batch environment
In IMS batch environment, the PSSR main module FABSMAIN is specified in the PGM= parameter in the EXEC statement. FABSMAIN invokes the DL/I region controller DFSRRC00 and DFSORT program with PSSR sort exit routines.
The following figure shows the general data flow for PSSR in the IMS batch environment.