Previous Topic: Input used by CA JARS Wizard

Next Topic: Creating CA JARS Wizard Glossary Listings


Executing CA JARS Wizard

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
CAIJWOP

SORT library

SORTLIB

SORT message data set

SORTMSG

SORT work files (minimum of 3)

SORTWK01
SORTWK02
SORTWK03
&bul.
&bul.

CA JARS Wizard Source Statement Library

CAIJWCP

Report output

SYSPRINT
DCB=(RECFM=FBA)

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