Previous Topic: Deleting a Rule Related to an Error MessageNext Topic: CA JCLCheck REXX Programming Interface


Deleting Action Rules from a Standard

To delete a standards rule, you can delete the action for the rule, and the rule; or, if the action for the rule is used by more than one parameter, you can leave the action and simply delete the rule.

  1. Access the STANDARD (SELECTION) panel (CAZ1RPSP), Creating the Standard Name, and enter E in the OPTION field.
  2. Do one of the following:
  3. Enter S in the CMD field preceding the statement type and parameter on the STANDARDS UPDATE panel (CAZ1RTSP) that applies to the rule you want to delete, and press Enter.

    CAZ1RTSP ----------- CA JCLCheck: STANDARDS (UPDATE) -------- ROW 1 OF 63 COMMAND ===> SCROLL ===> PAGE STANDARD GROUP NAME : PRODSTD To select a Statement Type : Enter 'S' in CMD field, press Enter To return to previous panel: Press End CMD TYPE PARAMETER SUB-PARAMETER S EXEC PGM EXEC STEPNAME ====== ============ ================= DD AVGREC DD COPIES DD DATACLAS DD DCB_1 BLKSIZE DD DCB_2 LRECL DD DCB_3 RECFM DD DCB_4 KEYLEN DD DDNAME DD DEST_1 NODE DD DEST_2 USER DD DISP_1 STATUS DD DISP_2 NORMAL

  4. The STANDARDS RULE DEFINITION panel for that rule is displayed, Defining the Standards Rule. Enter S in the CMD field preceding the rule you want to delete.

    CAZ1R06P------ CA JCLCheck: STANDARDS (RULE DEFINITION) ------ ROW 1 OF 1 COMMAND ===> SCROLL ===> DATA STANDARD GROUP NAME: PRODSTD CMD Field Usage: STATEMENT TYPE : EXEC R - Replicate Line, Press Enter PARAMETER TYPE : PGM I - Insert Line, Press Enter SUB PARAMETER TYPE : D - Delete Line, Press Enter ACTION NAME : INITIAL S - Select Existing Action, Press Enter Press End Returns to Previous Panel CMD OPER VALUE ACTION S EQ IMASZAP ACT@001 ******************************* BOTTOM OF DATA ******************************

  5. This displays the STANDARDS RULE DEFINITION panel again. This time it contains the statement and parameter type for the error message attached to the action for the rule that you want to delete. Enter D in the CMD field preceding this rule, and press End.

    CAZ1R06P------ CA JCLCheck: STANDARDS (RULE DEFINITION) ----- ROW 1 OF 1 COMMAND ===> SCROLL ===> DATA STANDARD GROUP NAME: PRODSTD CMD Field Usage: STATEMENT TYPE : EXEC R - Replicate Line, Press Enter PARAMETER TYPE : STEPNAME I - Insert Line, Press Enter SUB PARAMETER TYPE : D - Delete Line, Press Enter ACTION NAME. : ACT@001 S - Select Existing Action, Press Enter Press End Returns to Previous Panel CMD OPER VALUE ACTION D NE SMPAPPLY ERR201 ********************************* BOTTOM OF DATA ************************

  6. The STANDARDS (RULE DEFINITION) panel appears again, containing the rule you want to delete, with question marks (?) in the ACTION rule field. Enter D preceding the action, and press End. This deletes the rule.

    CAZ1R06P------ CA JCLCheck: STANDARDS (RULE DEFINITION) ----- ROW 1 OF 1 COMMAND ===> SCROLL ===> DATA STANDARD GROUP NAME: PRODSTD CMD Field Usage: STATEMENT TYPE : EXEC R - Replicate Line, Press Enter PARAMETER TYPE : PGM I - Insert Line, Press Enter SUB PARAMETER TYPE : D - Delete Line, Press Enter ACTION NAME : INITIAL S - Select Existing Action, Press Enter Press End Returns to Previous Panel CMD OPER VALUE ACTION D EQ IMASZAP ???????? ********************************** BOTTOM OF DATA ************************

  7. The STANDARDS CONFIRMATION panel is displayed. Press End to delete the standard.
  8. Press End again. If this statement and parameter type have no other rules, another Confirmation panel appears. Press Enter to delete this statement and parameter type as a rule from this standard on the Standard Rules database

    Note: If more than one rule exists using this statement and parameter type, you bypass this Confirmation panel.

    When the confirmation is complete you are returned to the Standards Definition panel, which displays the message, "STANDARD UPDATED."

    CAZ1RUCP -------- CA JCLCheck: STANDARDS (CONFIRMATION) ----------------- COMMAND ===> SCROLL ===> PAGE Standard Name: PRODSTD Press End to update the above standard on the rule database Use CANCEL command to cancel the request

    ---------------- CA JCLCheck: STANDARDS (CONFIRMATION) --------------- COMMAND ===> SCROLL ===> DATA Standard Name: PRODSTD During the EDIT all rules were deleted for the initial path: EXEC PGM Press Enter to delete this portion of the standard from the database End to cancel the request