I m looking for a way in which i could use the symbolic parameters in the IF statement in a PROC.
Scenario : I have a proc being referred by many JCLs and the JCL passes some specific values to the PROC. I need to have some specific steps in the PROC which should be invoked only when it is triggered by a specific JCL.
The IF/THEN/ELSE construct is based on an evaluation of one of the following keywords ONLY:
The following keywords are the only keywords supported by IBM and recommended for use in relational-expressions. Any other keywords, even if accepted by the system, are not intended or supported keywords.
So, pass your variables into a program, have that program evaluate their content, and set a Return-Code value as needed to direct the flow of your job.