

How to Use CA JCLCheck › Integrating Products › About External Variables › Specify the Product and Parameters in Batch
Specify the Product and Parameters in Batch
The following procedures describe how to specify the product and the product-specific parameters in a batch job.
The following procedure is for CA WA CA 7 Edition.
When using a batch job to invoke CA JCLCheck, it is recommended that you use the procedure CAZ1JCC7.
Follow these steps:
- Customize the CAZ1JCC7 procedure for your environment before running for the first time.
- Create a Resolve parameter file and edit it to specify the CA WA CA 7 Edition parameters that are required to process the JCL.
- Create JCL to run the CAZ1JCC7 procedure. The following JCL shows how to invoke the procedure:
//CHECK EXEC CAZ1JCC7,REGION=0K,
// RESPARM='RESOLVE(CA7,dsname,member)',
// OPTION=’{JCLCheck options}’
//SYSIN DD DISP=SHR,DSN=sequential.jcl.file (optional)
- Specify the CA7 scheduling product acronym in the PARM keyword.
- Specify a data set (and member) name that contains the CA WA CA 7 Edition parameters in the RESPARM keyword. If the data set is a sequential file, omit the member name. If the data set is a PDS, the member name must be specified. The RESPARM= parameter must contain a RESOLVE parameter. You can also specify DDNAME:ddname instead of data set and member to reference a ddname that is specified in your JCL.
- Specify OPTION= parameter to set standard CA JCLCheck processing options. When using the CAZ1JCC7 procedure, do not specify options PDS, PANVALET, LIBRARIAN, INCLUDE, or EXCLUDE as these cause errors. CA JCLCheck processes the resolved JCL as a sequential file.
- If you are specifying SOURCE=E in the RESPARMS options, make sure that SYSIN DD points to a sequential file containing the JCL to process. This file is not used if SOURCE=I.
The following procedure is for CA WA ESP Edition.
When using a batch job to invoke CA JCLCheck, it is recommended that you use the procedure CAZ1JCES.
Follow these steps:
- Customize the CAZ1JCES procedure for your environment before running for the first time.
- Create a Resolve parameter file and edit it to specify the CA WA ESP Edition parameters that are required to process the JCL.
- Create JCL to run the CAZ1JCES procedure. The following JCL shows how to invoke the procedure:
//CHECK EXEC CAZ1JCES,REGION=0K,
// RESPARM='RESOLVE(ESP,dsname,{member}){,JOBNAME(jobname)}'
// OPTION=’{JCLCheck options}’
//SYSIN DD DISP=SHR,DSN=sequential.jcl.file (optional)
- Specify the ESP scheduling product acronym in the PARM keyword.
- Specify a data set (and member) name that contains the CA WA ESP Edition parameters in the RESPARM keyword. If the data set is a sequential file, omit the member name. If the data set is a PDS, the member name must be specified. The RESPARM= parameter must contain a RESOLVE parameter. You can also specify DDNAME:ddname instead of data set and member to reference a ddname that is specified in your JCL. Use the JOBNAME parameter only when you are not specifying the PROCJOB parameter.
Note: For information about the parameters, see CA WA ESP Edition Parameters.
- Specify OPTION= parameter to set standard CA JCLCheck processing options. When using the CAZ1JCES procedure, do not specify options PDS, PANVALET, LIBRARIAN, INCLUDE, or EXCLUDE as these cause errors. CA JCLCheck processes the resolved JCL as a sequential file.
- If you are specifying SOURCE=E in the RESPARMS options, make sure that SYSIN DD points to a sequential file (or PDS with the member specified) containing the JCL to process. This file is not used if SOURCE=I.
The following procedure is for the Tivoli Workload Scheduler.
When using a batch job to invoke CA JCLCheck, it is recommended that you use the procedure CAZ1JCTW.
Follow these steps:
- Customize the CAZ1JCTW procedure for your environment before running for the first time.
- Create a Resolve parameter file and edit it to specify the TWS parameters that are required to process the TWS JCL.
- Create JCL to run the CAZ1JCTW procedure. The following JCL shows how to invoke the procedure:
//CHECK EXEC CAZ1JCTW,REGION=0K,
// RESPARM='RESOLVE(TWS,dsname,{member}){,JOBNAME(jobname)}',
// OPTION=’{JCLCheck options}’
//SYSIN DD DISP=SHR,DSN=tws.input.library
- Specify the TWS scheduling product acronym in the RESOLVE keyword of the RESPARM EXEC Parm.
- Specify a data set (and member) name of the Resolve parameter file in the RESOLVE keyword of the RESPARM EXEC Parm. If the data set is a sequential file, omit the member name. If the data set is a PDS, the member name must be specified. The RESPARM= parameter must contain a RESOLVE parameter and can optionally contain a JOBNAME parameter. You can also specify DDNAME:ddname instead of data set and member to reference a ddname that is specified in your JCL.
- Specify OPTION= parameter to set standard CA JCLCheck processing options. When using the CAZ1JCES procedure, do not specify options PDS, PANVALET, LIBRARIAN, INCLUDE, or EXCLUDE as these cause errors. CA JCLCheck processes the resolved JCL as a sequential file.
- If you are specifying SOURCE=E or IE in the parameter file, SYSIN DD points to a PDS, CA Librarian, CA Panvalet, or sequential file containing the JCL to process. The SRCETYPE keyword in the parameter file defines the type of file that is specified in the SYSIN DD. This file is not used if SOURCE=I.
- Add the jobname to the PARM keyword when the Input File Type is SEQ (SRCETYPE=SEQ). For sequential input, the jobname field is used to specify the member name being processed.
The following procedure is for Control-M.
When using a batch job to invoke CA JCLCheck, it is recommended that you use the procedure CAZ1JCCM provided with this feature.
- Customize the CAZ1JCCM procedure for your environment before running for the first time.
- Create a Resolve parameter file and edit it to specify the Control-M parameters that are required to process the JCL.
- Create JCL to run the CAZ1JCCM procedure. The following JCL shows how to invoke the procedure:
//CHECK EXEC CAZ1JCCM,REGION=0K,
// RESPARM='{RESOLVE(CTM,parameters)}{,JOBNAME(name)}',
// OPTION=’{JCLCheck options}’
//SYSIN DD DISP=SHR,DSN=sequential.jcl.file (optional)
//RESPARMS DD DSN=ctm.resparm,DISP=SHR (optional)
- The EXEC statement points to a procedure that resolves CTM variables and then calls CA JCLCheck to validate the JCL.
- Specify a data set (and member) name of the Resolve parameter file in the RESOLVE keyword of the RESPARM EXEC Parm. If the data set is a sequential file, omit the member name. If the data set is a PDS, the member name must be specified. The RESPARM= parameter must contain a RESOLVE parameter and can optionally contain a JOBNAME parameter. You can also specify DDNAME:ddname instead of data set and member to reference a ddname that is specified in your JCL.
- The OPTION= parameter can be used to specify standard CA JCLCheck processing options. When using the CAZ1JCCM procedure, do not specify options PDS, PANVALET, LIBRARIAN, INCLUDE, or EXCLUDE as these cause errors. CA JCLCheck processes the resolved JCL as a sequential file.
- If no RESPARM= parameter is specified, the default value that is provided in the CAZ1JCCM procedure is:
RESPARM='RESOLVE(CTM,DDNAME:RESPARMS)'
The preceding statement uses the DDNAME format of the RESOLVE parameter to indicate that the Resolve Parameters are specified using the DDNAME of RESPARMS.
For Control-M, three formats are available for the RESOLVE parameter.
- The following format allows for the use of parameters SOURCE=E, CTMPRINT and RECORD without having a parameter file defined. The SOURCE=E parameter requires the unresolved JCL to be in a sequential file pointed to by the SYSIN DD statement. The RECORD option is only used if a RECORD DD is present. The JOBNAME parameter allows you to specify the library member name that is used when calling CTMAESIM. Some variables in the JCL can use the member name in building values. If JOBNAME is not specified, the default is JCKDFLT.
RESPARM='RESOLVE(CTM,NOPARM),{JOBNAME(member)}'
- The following format allows for the DD name for the Resolve Parameters to be specified. The DD name that is provided must be defined in your JCL.
RESPARM='RESOLVE(CTM,DDNAME:ddname),{JOBNAME(member)}'
- The following format allows for the file name for the Resolve Parameters to be specified. If the file is a PDS(/e), a member name can also be specified. The file is dynamically allocated.
RESPARM='RESOLVE(CTM,file.name(,member}),{JOBNAME(member)}'
The following rules apply when a Resolve parameter is specified:
- When the parameter file contains a SOURCE=E statement, you can use the JOBNAME parameter to specify the library member name. The library member name is used when calling CTMAESIM. The JOBNAME parameter is used only when SOURCE=E is specified. SOURCE=E requires the unresolved JCL to be in a sequential file pointed to by the SYSIN DD statement.
- When SOURCE=E is not specified, then the file the ddname references must contain CTMAESIM options. For example, Library and Member. These options identify the location of the JCL.
Copyright © 2013 CA.
All rights reserved.
 
|
|