How can I override a dsn that is contained in a proc called
by another proc? I need to do the override in the calling
JCL.
Answer Posted / mani
CATALOG PROC
//CATPROC PROC
//STEP1 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=FILEA,
// DISP=(,CATLG,DELETE),
// SPACE=(TRK,(100,50),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSOUT DD SYSOUT=*
//
INVOKING JCL
//Z000960P JOB CLASS=E,MSGCLASS=E,NOTIFY=&SYSUID
// JCLLIB ORDER=Z000960.SOURCE.JCL
//MYPROC EXEC CATPROC
//STEP1.DD1 DD DSN=FILEB,DISP=(NEW,CATLG)
AFTER EXECUTE THE JCL FILEB WILL BE GETTING OVERRIDE
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain how can values be passed from the job stream to an executable program?
what is the use of IEBGENER utility?
List the different jcl statements that are not permitted in the procedures?
Is it possible to code instream data in a PROC?
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.
Can I send output of job to my remote device careerride123?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What do you understand by the term job time – out and how can you overcome that?
Explain about LMQUERY�give a dialog information about a data set
what is the compile process of cobol program expalin with code
what is SOC4 error?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
how you can direct the data to spool using SYSOUT option?
What is the syntax of JCL statement?
how do you code a null statement?