Previous Topic: Preprocessor directive limit increased to 50Next Topic: Separation of pre- and post-compilation commands


Wider range of substitution variables

The following substitution variables are now valid in compile preprocessor directives:

&A - Source member attribute, e.g. RPGLE            
&B - *OBJ (hard coded for backwards compatibility)   
&C - Compilation command, e.g. CRTBNDRPG            
&D - Source change date in MDY format, e.g. 032105  
&E - Current source member (may be external X* member) 
&F - Source file name, e.g. QRPGLESRC               
&G - Job name, e.g. QPADEV0003                      
&H - Job number, e.g. 123456                        
&I - Job user, e.g. HEWRO01                         
&J - Qualified job description, e.g. MYMDLLIB/QBATCH
&L - Source library, e.g. MYGENLIB                    
&M - Source member, e.g. UUAJEFR                    
&N - Object name, e.g. UUAJEFR                      
&O - Object name, e.g. UUAJEFR                    
&Q - Qualified job, e.g. 123456/HEWRO01/QPADEV0003
&S - Object type without '*', e.g. PGM            
&T - Object type, e.g. *PGM                       
&X - Source member text                           
&Y - Compilation date in MDY format, e.g. 032105  
&Z - Compilation timestamp e.g. 05-03-21-12:13:45:00000