Previous Topic: Using CA File Master Plus for BatchNext Topic: Enhanced Concatenation Support


Batch JCL

Use JCL to execute the program CAWABATC to use CA File Master Plus for batch. Following are the required and optional ddnames for the application. Some values may have been changed during installation, but the product documentation refers to the values here.

Note: The ddnames for SYSUT1, SYSUT1O, and SYSUT1N may have been changed during installation. These default values are used throughout the user documentation.

Required:

SYSIN

Controls statements (for example, commands).

SYSPRINT

CA File Master Plus messages. Optional output from SYSLIST and SYSTOTAL.

Optional:

SYSLIST

Output from the COMPARE and PRINT commands. If SYSLIST is not allocated, the output goes to SYSPRINT.

SYSTOTAL

SYSUT1

Default input file if the INFILE or OUTFILE keywords are not supplied.

SYSUT1O

Default output file when the OUTFILE keyword is not supplied.

SYSUT1N

Default compare file when the NEWFILE keyword is not supplied.

LAYOUT

Default ddname for the file containing layout members used for field name support and record formatting.

LAYOUTN

Default ddname for the file containing layout members used in COMPARE for field name support and record formatting of the New record.

LOADLIB

Default ddname that references the load library used as input for LOADINFO.

LOGFILE

Default ddname that references the sequential file created by the change log function and used as input for PRINTLOG.

ddname1-n

Override default ddnames by using optional ddnames in the command keywords that require them.

Example

The following is a JCL example used by the CAWABATC program:

//JOBCARD INFORMATION
//FMBATCH   EXEC PGM=CAWABATC,REGION=2M
//**********************************************************
//*  COPY SYSUT1 to SYSUT1O.  If positions 25 and 26 equal *
//*  CT then change it to MA                               *
//**********************************************************
//STEPLIB   DD   DSN=cai.CAILIB,DISP=SHR
//SYSPRINT  DD   SYSOUT=*
//SYSLIST   DD   SYSOUT=*
//SYSTOTAL  DD   SYSOUT=*
//SYSUT1    DD   DSN=MY.INPUT,FILE,DISP=SHR
//SYSUT1O   DD   DSN=MY.OUTPUT,FILE,DISP=SHR
//LAYOUT    DD   DSN=MY.LAYOUTS(MEMBER)DISP=SHR
//SYSIN     DD   *
  COPY ,
    CHANGE(25,2,EQ,C'CT',C'MA')

/*