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

i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?

4 Answers   IBM,


Give the syntax of job specifying jcl statement.

0 Answers  


How do You skip a Step In JCL?

9 Answers   HTC,


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,






What are isolation levels? Where do we need to specify them in compiling JCL?

3 Answers  


Explain about LMPUT-

1 Answers  


What is jcl in mainframe?

0 Answers  


Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???

4 Answers  


what is the meaning of keyword in jcl?what is is opposite?

4 Answers  


What are the difference between jcl and jes?

0 Answers  


what is a jcl?

0 Answers   IBM,


Categories