And how does the example provided resolve the question I had to override a //STEPLIB by using a condition if?
As it stands right now, our system already uses an INCLUDE MEMBER=RPSLIB statement.
My goal was to use an If-Then-Else construct to set the steplib based upon 1 single change to a set statement in the JCL. Based upon that set statement value, the JCL would override the corresponding PROCLIB step with the preferred //STEPLIB.
So, if I were to:
// SET PROD=YES
//IF (PROD=YES) THEN
//procstep.STEPLIB DD "use the PROD LOAD LIB concatenated list".
//procstep.STEPLIB DD "use the TEST LOAD LIB concatenated list".
Is there a way to use a SET LIB= to a "concatenated list" of loadlibs?