Suppose I have 5 dataset listed under a single DD name in a
catlogued PROC. How can I override one of those 5 dataset
(say 3rd dataset)?
Answer Posted / vaneesh khurana
Calling catalog proc
Pass the symbolic parameter name to C while executing
proc(CATPROC)
//STEP1 EXEC CATPROC,C=NAME2
------------------------------------
Catlaog Proc
Here third dataset name which was "THIRD.FILENAME" earlier
will get overridden with "NAME2.FILENAME"
//CATPROC PROC A=FIRST,B=SECOND,C=THIRD,D=FOURTH,E=FIFTH
//STEP2 EXEC PGM=PGM1
//DFILES DD DSN=&A..FILENAME
DD DSN=&B..FILENAME
DD DSN=&C..FILENAME
DD DSN=&D..FILENAME
DD DSN=&E..FILENAME
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
whats the diff bw the evaluate also and and?
what are the types of abends that occur on job failure? And explain the possible causes of these
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What dd statement is used to supply the name of a dataset?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
When space is allocated for an output dataset, what units can be used?
How to override loadlib?
List the various advantages of using jcl language?
which parameter is use to declare the name of dataset in dd statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
how do you code a null statement?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Explain the purpose of the dd keylen parameter?
What are the parameter we cannot use in procedure?
Explain the purpose of dd * statement in jcl?