How to check the number of parameters in a RPGLE program

 /free                             
                                   
  //if %parms > {number_of_parms}; 
    if %parms > 4;                 
      //Do some processing here    
    endif;                         
                                   
 /end-free   

No comments:

Post a Comment

NO JUNK, Please try to keep this clean and related to the topic at hand.
Comments are for users to ask questions, collaborate or improve on existing.