JCL requirements for the MDA Reversal utility

When you code the JCL to run the MDA Reversal utility, include the EXEC statement and appropriate DD statements.

JCL example

An example of the JCL that is required for MDA Reversal is shown in the following figure.

Figure 1. Example of MDA Reversal JCL
//JOB
//STEP     EXEC PGM=FABXMRVS
//STEPLIB  DD DISP=SHR,DSN=HPS.SHPSLMD0
//ACBLIB   DD DISP=SHR,DSN=PROD.ACBLIB
//DFSMDA   DD DISP=SHR,DSN=PROD.MDALIB
//FABXMSRC DD SYSOUT=B,FREE=CLOSE
//FABXMOUT DD SYSOUT=A
//MDASRC   DD DISP=SHR,DSN=PDS.MDASRC
//FABXMRPT DD SYSOUT=A
//FABXMIN  DD *
  PROC FUNC=DECODE
  OPTION MDA_LIST=YES,
         FPDEDB_LIB=ACBLIB,
         RECON_ALT_DD=RECON*
  MDA NAME=*
  END
/*

EXEC statement

This statement must be in the following format:
//stepname EXEC PGM=FABXMRVS

DD statements

Code the following DD statements to identify the source of input and the placement of output information:
STEPLIB DD or JOBLIB DD
Required input data set. Specify the IMS Library Integrity Utilities load module library data set.
DFSMDA DD
Required input data set. Specify one or more libraries that contain the DFSMDA members for which DFSMDA macros and reports are created.
ACBLIB DD
Required input data set when you specify the FPDEDB_LIB=ACBLIB option for the OPTION statement to print the TYPE=FPDEDB parameter and DEDB database names.
FABXMIN DD
Required input data set. Specify the data set that contains the control statements for the MDA Reversal utility.

The DCB parameters must be RECFM=FB, LRECL=80, and BLKSIZE must be a multiple of 80.

FABXMOUT DD
Required output data set. Specify the data set for the Control Statement report.

The DCB parameters must be RECFM=FBA, LRECL=133, and BLKSIZE must be a multiple of 133.

FABXMSRC DD
Optional output data set when you use the utility to decode DFSMDA members. Specify the data set for printing DFSMDA macros converted from DFSMDA members.

In this data set, the utility generates all DFSMDA macros converted from all the DFSMDA members that the utility identified from the specifications in the control statement.

The DCB parameters must be RECFM=FB, LRECL=80, and BLKSIZE must be a multiple of 80.

MDASRC DD
Optional output data set when you use the utility to decode DFSMDA members. This data set must be a PDS or PDSE. The DFSMDA macros decoded in this data set are identical to those generated in the FABXMSRC data set, but in MDASRC data set, a data set member is created for each DFSMDA member.

The DCB parameters must be RECFM=FB, LRECL=80, and BLKSIZE must be a multiple of 80.

FABXMRPT DD
Optional output data set. However, if you specify PROC FUNC=MDA_LIST, which requests to create the Library Contents report without converting DFSMDA members to DFSMDA macros, this data set is a required data set. Specify the data set for the Library Contents report.

The DCB parameters must be RECFM=FBA, LRECL=133, and BLKSIZE must be a multiple of 133.