The following methods exist for checking the syntax of rule definitions:
Rule definitions viewed using the Online facility are automatically checked for syntax errors. Syntax error messages are displayed in a special error message screen. Additional changes cannot be made to a rule with a syntax error until the error is corrected.
When the Control-M/Analyzer Runtime Environment is invoked, rule definitions are automatically checked for syntax errors. Results are displayed in the SYSPRINT job output.
Utility CTBCMP checks the syntax of the specified rule definition. For additional information about this utility, see the INCONTROL for z/OS Utilities Guide.
The rule definition can be checked for syntax errors while viewing the rule definition in a standard editor. Specify !CTBCQC in the command field and press Enter. Results are inserted as note lines at the top of the rule definition, as illustrated below:
Figure 292 Results of Quick Compile Program Module CTBCQC
EDIT ---- CTB.PROD.RULES(ARWARN02) - 01.00 ------------------- COLUMNS 001 072
COMMAND ==> SCROLL ===> CRSR
=NOTE= CONTROL-M/ANALYZER VERSION 6.0.00 RULE COMPILER
=NOTE=
=NOTE= CTB109I- COMPILATION STARTED
=NOTE= CTB110I- COMPILATION COMPLETED SUCCESSFULLY
=NOTE= CTB111I- HIGHEST ERROR CODE WAS 0
000001
000002 HEADER GROUP 'INTRAC' OWNER 'M66' DATE '090999' TIME '153005' CREATOR 'M
000003 66' DESC 'SUMMARIZE AND CHECK PAYROLL TOTALS'
000004
000005 EXECUTE 'INIT'
000006 ON_DATA
000007 ALWAYS
000008 DO SET 'ERRORCOUNT' EVAL '0'
000009 DO SET 'SLSNO' EVAL '0'
000010 DO SET 'BLANK' EVAL ''' '''
000011 DO PRINT DATA '******** PAYROLL CONTROL TOTALS ********'
000012
Parent Topic |