Processing

GIMXTRX obtains the input parameter data set name from the PARM value passed to it on the EXEC statement.

If the SMPXTOUT DD statement is specified, GIMXTRX uses the data set specified for the output. If the SMPXTOUT DD statement is not specified, GIMXTRX allocates a new data set for the output. GIMXTRX constructs the name of the output data set using the input parameter data set name as a base. The last qualifier of the input parameter data set name is changed to 'OUT' and this becomes the name of the output data set. For example, if the input parameter data set name is TEST.GIMXTRX.DATA.IN, the output data set name will be TEST.GIMXTRX.DATA.OUT.

The output data set is allocated and cataloged as follows:
DSNAME=dsn.OUT
DSORG=PS
RECFM=FB
LRECL=12560
BLKSIZE=0
SPACE=(TRK,(10,1),RLSE)
UNIT=unit (supplied as SUFUNIT= on input) or default of SYSALLDA
VOLUME=volume name (supplied as SUFVOL= on input).
If the SMPXTOUT DD statement is not specified, GIMXTRX attempts to create the output data set, which therefore must not exist at the time that GIMXTRX is initiated. If there is no volume supplied as input, GIMXTRX will attempt the allocation without a volume serial. If there is no unit supplied as input, GIMXTRX will attempt the allocation with UNIT=SYSALLDA.

GIMXTRX then allocates and opens all of the required data sets and extracts the input parameters from the input parameter data set.

Once the input parameters have been read and the output data set created, GIMXTRX continues processing based on the function requested (LSTTZN or BMPTZN).