I have a Symbolic Parameter which can have a value say 01
or 02 etc. Now consider i have another Symbolic parameters
which is used to get 3 digit code of months (JAN, FEB, etc)
but for that i need to check the first symbolic parameter's
value and provide its corresponding month's name in the
second symbolic parameter. Say IF sym1 = 01 then sym2='Jan'
ENDIF etc... In JCL, IF condition is used for RC, ABEND
purposes of a step etc. When i use Symbolic parameter in IF
clause it is showing Error message. Is there a way to get
the above result possible in JCL. If you could provide me
with an example, i would understand it better.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JCL Interview Questions

If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?

2 Answers  


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


How to get cursor position from system in CICS environment ?

8 Answers  


Can we change the LIMIT of GDG?

6 Answers   HCL,


what happens in execution stage in job processing?

0 Answers   IBM,






Matching Logic in Jcl not in cobol.Could any one please answer this question

0 Answers  


What is a procedure?

1 Answers  


what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


What are the common jcl syntax errors you get? This is not abends?

1 Answers  


I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:

4 Answers   ITC Infotech, TCS,


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

0 Answers  


can i sort packed decimal if i can tell the syntax

1 Answers   Barclays,


Categories