I have a common Include member, which contains few JCL steps, used in 8 jobs. Every job passes a 2 char value as a symbolic parameter to the include member to be used in jcl steps. For Eg. SET CC1=GB is coded in a job. I'm trying to skip a step only in that particular job where CC1 is set a GB. I cannot go and change the include member as it is wil impact other jobs too.
I tried with an IF statement like below thinking that it wil skip the step only for GB and will work for other values.
//IFSTEP04 IF (&CC1 NOT = GB) THEN
I'm getting the error as "NON NUMERIC ARGUMENT TO IF KEYWORD".
Can IF statement be used for other than return code checking?
Is there any other way to resolve this.