IBM MainFrame Question:
Download Questions PDF

How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL?

Answer:

//PROC1 PROC
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=XYZ, DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
// PEND


//JJJ JCLLIB ORDER=PROCLIB PATH
//PROC2 PROC
//STEP2 EXEC PROC1


//JOBNAME JOB PARAMETERS
//JJJ JCLLIB ORDER=PROCLIB PATH
//PROC3 PROC
//STEP2.DD1 DSN=NEW NAME,DISP=SHR


THIS IS D WAY....
THIS PROG. WILL DO NOTHING IT'S JUST AN EXAMPLE

Download IBM MainFrame Interview Questions And Answers PDF

Previous QuestionNext Question
What is difference b/w file-aid tool and file-aid utility?if a pic 9(3) value 354,b pic x(2) value 46 then
a)a>b
2)a<b
3)error