Previous Topic: Sample WLP Actuals JCLNext Topic: CA Earl and CA Easytrieve Reporting


Sample WLP Combined JCL

JCL was shown for each individual control statement in the previous examples, either WLP1 or WLP2. One job can be used to run both, but not at the same time. The following example shows the combined JCL. See also job N600 from the installation process.

//jobname  JOB  local jobcard standards
//WLP      EXEC  PGM=SASSWP00
//*      User input files
//STEPLIB  DD DISP=SHR,DSN=user.CA-7.loadlib
//UCC7LOG  DD DISP=SHR,DSN=user.CA-7.loghist(0)
//UCC7WLP  DD DISP=SHR,DSN=user.CA-7.wlpdata
//WLPCC    DD *
  control records go here    <====<
//*      Report DDs
//MSGRPT   DD SYSOUT=a
//INTRPT   DD SYSOUT=a
//TP1RPT   DD SYSOUT=a
//TP2RPT   DD SYSOUT=a
//CPURPT   DD SYSOUT=a
//RESRPT   DD SYSOUT=a
//DETRPT   DD SYSOUT=a
//TRCRPT   DD SYSOUT=a
//*      Other SYSOUT DDs
//SYSPRINT DD SYSOUT=a
//SYSOUT   DD SYSOUT=a
//SYSUDUMP DD SYSOUT=a
//*      Temporary work files
//JOBFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE),DCB=BLKSIZE=500
//JOBFIN   DD DISP=(OLD,PASS),DSN=*.JOBFILE,VOL=REF=*.JOBFILE
//JOBFOUT  DD DISP=(OLD,PASS),DSN=*.JOBFILE,VOL=REF=*.JOBFILE
//JOBFWK01 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//JOBFWK02 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//JOBFWK03 DD UNIT=SYSDA,SPACE=(CYL,(1,1))
//RESFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE),DCB=BLKSIZE=200
//RESFIN   DD DISP=(OLD,PASS),DSN=*.RESFILE,VOL=REF=*.RESFILE
//RESFOUT  DD DISP=(OLD,PASS),DSN=*.RESFILE,VOL=REF=*.RESFILE
//SIMLOG   DD UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE),DCB=BLKSIZE=400
//SORTWK01 DD DISP=(OLD,PASS),DSN=*.JOBFWK01,VOL=REF=*.JOBFWK01
//SORTWK02 DD DISP=(OLD,PASS),DSN=*.JOBFWK02,VOL=REF=*.JOBFWK02
//SORTWK03 DD DISP=(OLD,PASS),DSN=*.JOBFWK02,VOL=REF=*.JOBFWK03

The following is an explanation of the JCL statements required for executing a batch WLP run:

The following Projection report DD statements are referenced only for WLP1:

The following DD statement is referenced only for WLP2:

The following DD statements are referenced for both WLP1 and WLP2:

The practice of saving the statement data sets generated by the FWLP command and concatenating pertinent ones for projection runs can enhance flexibility and increase usefulness of the WLP facility. For example, if a data file is created that contains the specifics for an existing application and it is known that a new job is to be added to this application, the effects of the new job can be tested if there is a separate data file with only that application. One way to do this would be to create a new data file with only the new job, and run it concatenated with the file that has the other jobs in the application.

This technique not only adds flexibility in usage but can also reduce runtime for projections by keeping the number of variables being exercised to a minimum.