Previous Topic

Next Topic

Book Contents

Book Index

Data Identification Parameters

The Data Identification parameters specify the actual criteria (character strings and values) that Control-M/Analyzer should examine within the data source specified by the ON statement.

Figure 47 Data Identification Parameters

   WHEN LINE 001     - 060     COL 010     - 020              STOP    AND/OR   

        STRING = CHR001                                                        

     DO EXTRACT  = CURR_ONHAND                                                 

                   LEVEL 0 LINE +000 COL +050 - +060 PROCESS          TYP

   ON DATA

   LABEL:                                                                     

   ALWAYS                                                                     

     DO SET      = DIFFER=ABS(CURR_ONHAND-MIN_CHR001)                      C  

     DO SET      = REASON=TOLER(CURR_ONHAND,MIN_CHR001,10)                 C  

     DO                                                                         

 LABEL:                                                                     

   IF       CURR_ONHAND>=MIN_CHR001                                        C  

     DO PRINT    = DO NOT REORDER; SURPLUS=%%DIFFER                    F   C  

     DO                                                                       

   ELSE

     DO PRINT    = REORDER; DEFICIT=%%DIFFER                           F   C  

     DO

                (ENTER "ALWAYS", "IF")

Table 57 Data Identification Parameters

Parameter

Description

WHEN

Available for all ON statements (except ON DATA).

Control-M/Analyzer searches the file, line by line, for the specified character string in the specified range. If the string is found (before the STOP string is found), the DO statements in the WHEN block are processed. For more information seeWHEN: Rule Definition Structure.

STOP

Yes/No flag that indicates if STOP criteria are to be specified. The format of STOP criteria subparameters is identical to that of WHEN subparameters.

ALWAYS

Available when ON DATA is specified. ALWAYS specifies a group of DO statements that should be executed under all conditions.

IF condition

Available when ON DATA is specified. Boolean conditional expressions determine if the next group of DO statements is processed.

ELSE condition

If the specified condition resolves to false, the DO statements following ELSE are processed. If the specified condition resolves to true, the DO statements following ELSE are skipped.

Parent Topic

Rule Definition Screen