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:
WLPCC DD Statement - Contains control statement information (WLP1 or WLP2). It is not required if PARM is specified on the EXEC statement.
STEPLIB DD Statement - Points to the CA WA CA 7 Edition Load library. The Load library on which any WLB resource definitions (UCC7Rxxx indicated on RES statements) reside must be referenced by this ddname.
The following Projection report DD statements are referenced only for WLP1:
INTRPT DD Statement - Hourly INIT Usage Projection Report
TP1RPT DD Statement - Hourly TP1 Usage Projection Report
TP2RPT DD Statement - Hourly TP2 Usage Projection Report
CPURPT DD Statement - Hourly CPU Usage Projection Report
RESRPT DD Statement - Resource Summary Report
The following DD statement is referenced only for WLP2:
The following DD statements are referenced for both WLP1 and WLP2:
DETRPT DD Statement - Produces the Detailed Resource Utilization and Job Summary reports.
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.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|