Previous Topic: Printing the StandardNext Topic: Creating the Standard Name


Adding a Standard with More Than One Rule

In this example, you create a standard that is called PRODSTD in the Standards Rules Database. This standard directs CA JCLCheck to check for production jobs and requires a JOB NAME that begins with P; otherwise, it issues an error message. Next, regardless of the results of the first test, CA JCLCheck checks for the program name IMASPZAP and then the step name SMPAPPLY. When the program name is IMASPZAP, then the step name must equal SMPAPPLY; otherwise, it is an error. (When the program name is not IMASPZAP, CA JCLCheck does not check the step name because the program name test does not match.)

You use the following steps to define the criteria for the PRODSTD standards rules.

Here are the basic steps for adding a standard with more than one rule:

  1. Create the standard name
  2. Select the statement and parameter type
  3. Define the standards rule
  4. Select the action
  5. Confirm the standard
  6. Select the statement and parameter/subparameter type
  7. Define the standards rule
  8. Select the action
  9. Define the standards rule
  10. Define the action
  11. Confirm the standard
  12. Compile the standard
  13. Use the standard
  14. Print the standard

To access the JOB CONTROL STANDARD panels, enter %JCKSTD on the command line, and press Enter.