In a proc i will concatinate 4 dd statements.i want to
overide 3 dd statement through jcl how?
Answer Posted / premkumar
Since it is concatenated, you can't have DD names as
mentioned in the previous responses. suppose your 4 dd
statements inside a proc are as below
//myproc PROC
//STEP01 EXEC PGM=progname
//DD01 DD DSN=userid.base.file1
// DD DSN=userid.base.file2
// DD DSN=userid.base.file3
// DD DSN=userid.base.file4
//*
Now you can override the 3 dd statements in JCL as
//POCNAME1 myproc
//STEP01.DD01 DD DSN=userid.base.file5
// DD DSN=userid.base.file6
// DD DSN=userid.base.file7
Note: the fourth file has been left as it is because the
questionsis to override only the first 3 statments.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
I need exexution process for JCL programs
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
what is the JCL statement consists of?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
List in order the hierarchical levels of jcl?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Explain the purpose of dd * statement in jcl?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Explain dfsort utility?
What are the 4 fields in dd statement?
in ways data can be passed to a COBOL program from JCL?
How is the record format of an output dataset specified?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Define concatenating?