Use the following sample JCL to create CA JARS Wizard reports and output:
//WIZARD JOB ,,CLASS=X,MSGCLASS=X //WIZSTEP EXEC PGM=WIZARD,REGION=2048K //STEPLIB DD DSN=CAI.CAJRLOAD,DISP=SHR //CAIJWCP DD DSN=CAI.CAJROPTN,DISP=SHR //SORTLIB DD DSN=SYS1.SORTLIB,DISP=SHR //SORTWK01 DD UNIT=SYSDA,SPACE=(TRK,(30,5)) //SORTWK02 DD UNIT=SYSDA,SPACE=(TRK,(30,5)) //SORTWK03 DD UNIT=SYSDA,SPACE=(TRK,(30,5)) //SORTWK04 DD UNIT=SYSDA,SPACE=(TRK,(30,5)) //CAIJWI DD DSN=CAI.JARS.WIZARD.DATA,DISP=SHR //CAIJWOP DD UNIT=SYSDA,SPACE=(CYL,(10,2)) //SYSPRINT DD SYSOUT=*,DCB=(BLKSIZE=133,LRECL=133,RECFM=FBA) //SYSOUT DD SYSOUT=* //SORTMSG DD SYSOUT=* //SYSIN DD * Insert CA JARS Wizard control statements here - /* //
The following table lists the ddnames and their functions in a CA JARS Wizard run.
|
CA JARS Wizard Function |
DDname |
|---|---|
|
Primary input file |
CAIJWI |
|
Secondary input file #1 |
CAIJWI2 |
|
Secondary input file #2 |
CAIJWI3 |
|
Secondary input file #3 |
CAIJWI4 |
|
Secondary file for concatenation (UPD) |
CAIJWOL |
|
Output file and the interim file for RANK, EXCEPTION, and LIST(BOTH) |
CAIJWOP |
|
SORT library |
SORTLIB |
|
SORT message data set |
SORTMSG |
|
SORT work files (minimum of 3) |
SORTWK01 |
|
CA JARS Wizard Source Statement Library |
CAIJWCP |
|
Report output |
SYSPRINT |
|
Control statements input |
SYSIN |
|
System message data set |
SYSOUT |
Some CA JARS Wizard functions require that additional ddnames be included in the JCL for the run. Here is a list of these functions and the ddnames they require:
|
CA JARS Wizard Function |
DDname Required |
|---|---|
|
Output Update: OUTPUT(UPD) |
CAIJWOL |
|
File Matching |
CAIJWI2-4 (as necessary) |
|
COPY Statement |
CAIJWCP |
|
Output File Creation |
CAIJWOP |
|
Ranking Reports (RANK Statement) |
CAIJWOP |
|
Exception Reports (EXCEPTION Statement) |
CAIJWOP |
|
LIST(BOTH) Reports |
CAIJWOP |
| Copyright © 2012 CA. All rights reserved. |
|