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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pub:preprocessor [2018/09/27 09:28] – [Conditions] kkramerpub:preprocessor [2018/10/03 21:22] – [Conditions] kkramer
Line 371: Line 371:
 The Smart Router will check test value as conditional list, if found will replace test value by values which we have defined. The Smart Router will check test value as conditional list, if found will replace test value by values which we have defined.
  
-**General definitions:**+**Tests and Keyword descriptions:**
 <html><pre>                                                        <html><pre>                                                       
                                                                                                                                                                  
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: 2024/04/23 11:45 by kkramer