How to overide the symbol parameter in the jcl ?

Answers were Sorted based on User's Feedback



How to overide the symbol parameter in the jcl ?..

Answer / karthik ramamoorthy

The Jcl using symbolic paramter looks like this
//job1 job 'abcd'
//step1 exec pgm=testpgm
//file1 dd dsn=&file,
disp=&disp

The symbolic paramters are &file and &DISP they way to
override them are as follows
//job1 job 'abcd'
//assign proc file1=test.file1,
// DISP=(NEW,DELETE,DELETE)

Is This Answer Correct ?    6 Yes 1 No

How to overide the symbol parameter in the jcl ?..

Answer / abcd

The Jcl using symbolic paramter looks like this
//job1 job 'abcd'
//file set file=test.file1
//disp set disp=NEW,DELETE,DELETE)
//step1 exec pgm=testpgm
//file1 dd dsn=&file,
disp=&disp

The symbolic paramters are &file and &DISP they way to
override them are as follows
//job1 job 'abcd'
//assign proc file1=test.file1,
// DISP=(NEW,DELETE,DELETE)

Is This Answer Correct ?    2 Yes 2 No

How to overide the symbol parameter in the jcl ?..

Answer / suputhru

The symbolic paramters are &file111 and &DISPooo they way to
override them are as follows.

//job1 job 'abcd'
//assign proc file111=test.file1,
// DISPooo=(NEW,DELETE,DELETE)
//step1 exec pgm=testpgm
//file1 dd dsn=&file111,disp=&DISPooo

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

how to resolve soc-7 ? please tell me

3 Answers   IBM,


i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

1 Answers   TCS,


A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,


How to DEBUG a JCL?

9 Answers   Satyam,


in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the step3 and remaing step4,step5 are execute? i want skip step3 only? what code u can write?

3 Answers   Patni,






What is the error code SOC01 indicate ?

5 Answers   Microsoft,


in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?

4 Answers   HCL,


What does a disposition of (NEW,CATLG,KEEP) mean?

1 Answers   Cap Gemini,


how to compress the data set

8 Answers   Keane India Ltd,


once we submitted the job to the operating system, how can we cancel the job before execution?

2 Answers  


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

0 Answers  


A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


Categories