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
Matching Logic in Jcl not in cobol.Could any one please answer this question
How does jcl act on code(if you take a cobol program)?
Can I send output of job to my remote device careerride123?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
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.
What is catelog procedure and how many catelog procedure to use in one job?
Explain the function of a dd statement?
Explain the function of dd name parameter with a 2 part structure; audit.report?
what is JCL?
Explain how can return codes be tested before execution of a job step?
What is the function of the dd dcb keyword?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How can values be passed from the job stream to an executable program?
What is multithreading in jcl?