How to overide the symbol parameter in the jcl ?
Answer Posted / 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 |
Post New Answer View All Answers
Can I share my data with other jobs? How?
how would you create a temporary dataset? And where will you use them?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Explain the function of the steplib dd statement?
What is the difference between run mode and addressing mode?
Explain about LMFREE�free data set from its association with data ID
what is DSN in JCL and what are the parameters to declare the DSN?
what is use of dcb parameter in dd statement?
What is use of restart and how to use it?
Explain the hierarchy levels in jcl?
Can we use DISP=SHR in output file in JCL
How is a type of file defined in the jcl that executes the cobol program?
What is the function of a dd statement?
how can the same proc be re-used and called by many jobs?
How can the submitting users racf authority be overridden in a job stream?