Previous Topic

Next Topic

Book Contents

Book Index

Syntax Checking

The following methods exist for checking the syntax of rule definitions:

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

Rule Definition Using an Editor