Use JCL to execute the program CAWABATC to perform CA File Master Plus for batch. The following table lists the required and optional ddnames for CA File Master Plus for batch:
|
DDNAME |
Required |
Description |
|
SYSIN |
Yes |
Control statements (or example, commands). |
|
SYSLIST |
No |
Output from the COMPARE and PRINT commands. If SYSLIST is not allocated, the output goes to SYSPRINT. |
|
SYSPRINT |
Yes |
CA File Master Plus messages. Optional output from SYSLIST and SYSTOTAL. |
|
SYSTOTAL |
No |
Output from the ACCUM keyword specified on the input command. If SYSTOTAL is not allocated, the output is directed to SYSPRINT. |
|
SYSUT1 |
No |
Default input file if keywords INFILE or OLDFILE are not supplied.* |
|
SYSUT1O |
No |
Default output file when the OUTFILE keyword is not supplied.* |
|
SYSUT1N |
No |
Default compare file when the NEWFILE keyword is not supplied.* |
|
LAYOUT |
No |
Default ddname that references a file that may contain record layout members and custom record layout members used for field name support and record formatting. |
|
LAYOUTN |
No |
Default ddname that references a file that contains record layout members used in COMPARE for field name support and record formatting of the New record. |
|
LOADLIB |
No |
Default ddname that references the load library used as the LOADINFO's input. |
|
LOGFILE |
No |
Default ddname that references the sequential file created by the editor's change log function and used as PRINTLOG's input. |
|
ddname1-n |
No |
Override default ddnames by using optional ddname in the command keywords that require them. |
* Indicates the shipped default values and may have been changed during installation. These default values are used throughout this guide.
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')
/*
|
Copyright © 2013 CA.
All rights reserved.
|
|