User Tools

Site Tools


pub:preprocessor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pub:preprocessor [2018/09/27 16:31]
kkramer [Conditions]
pub:preprocessor [2018/10/04 04:22] (current)
kkramer [Conditions]
Line 410: Line 410:
 | ***JOBNAME** | Spool file job name |  | ***JOBNAME** | Spool file job name | 
 | ***TOTALPG** | Spool file total pages |  | ***TOTALPG** | Spool file total pages | 
 +
 +1. The processing priority:
 +
 +  * Map fields (with prefix ‘&​’)
 +  * Attributes of spool file (with prefix ‘*’) attributes:
 + ​*SPLFILE
 + ​*USRPRF
 + ​*JOBNAME
 + ​*USRDTA
 + *FORM
 + *PGM
 + ​*TOTALPG
 + ​*OUTQUE
 + ​*OUTLIB
 +  * Name object: The first ten characters will be look up in list name objects
 +  * Constant value       
 +
 +2. Program will deal values above for both 2 fields: ‘Field’ and ‘Test value’. For example, we can define as below:
 +<​html><​pre> ​
 +Field . . : ORLANDO@INFORMDECISIONS.COM ​                               ​
 +
 +Test  . . : *EQ *EQ, *LT, *LE, *GT, *GE, *NE, *IN          ​
 +
 +                                                            ​
 +
 +Test value (&​MapField,​ *Attribute,​Value,​ Value1 Value2..)  ​
 +
 +&​EMAIL ​                                        
 +</​pre></​html>​
 +
 +3. Regarding test values: ‘Value, Value1 Value2…’ the program compare values as Constants
 +<​html><​pre> ​                                                
 +
 +                 ​Maintain Conditional List      ​
 +
 +                                                 
 +
 +  Name: ODD1-5 ​    ​Description:​ Odd Pages 1 - 5 
 +
 +                                                 
 +
 +  Value: ​                                       ​
 +
 +  1 3 5       
 + 
 +
 +                  Testing Values ​                       ​
 +
 +Field . . : &​EMAIL ​                                     ​
 +
 +Test  . . : *EQ *EQ, *LT, *LE, *GT, *GE, *NE, *IN       
 +
 +                                                         
 +
 +Test value (&​MapField,​ *Attribute,​Value,​ Value1 Value2..)
 +
 +ODD1-5 ​                                                 ​
 +</​pre></​html>​
 + 
 +
 +It similar to this case below:
 +<​html><​pre> ​
 +                  Testing Values ​                       ​
 +
 +                                                         
 +
 +Field . . : &​EMAIL ​                                     ​
 +
 +Test  . . : *EQ *EQ, *LT, *LE, *GT, *GE, *NE, *IN       
 +
 +                                                         
 +
 +Test value (&​MapField,​ *Attribute,​Value,​ Value1 Value2..)
 +
 +1 3 5                      ​
 +</​pre></​html>​
  
 ===== Starting and Ending a SmartRouter™ Engine ===== ===== Starting and Ending a SmartRouter™ Engine =====
pub/preprocessor.txt · Last modified: 2018/10/04 04:22 by kkramer