how to override PROC? please give answer in details. Please
mention how to write it in JCL. Thanks in advance.

Answers were Sorted based on User's Feedback



how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks ..

Answer / kalpana dwivedi

For Override a proc, syntax is
Stepname.Ddname

For exapmle in a jcl proc is called as
//STEP1 EXEC=PROC1
and PROC1 contains a dd statement
//DD1 DSN=ESDSKXD.REXX.DATA,DISP=SHR

For overriding the DD1 of PROC1, syntax would be:
//STEP1.DD1 DSN=ESDSKXD.REXX.DATA,DISP=SHR

Is This Answer Correct ?    14 Yes 2 No

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks ..

Answer / heman

Amra, giving a new library in JCLLIB is however possible.
My understanding of the question asked and my query too is,
whether we can provide an JCL override to the called PROC
in a PROC. Please advise if you have solution. Thanks.

Is This Answer Correct ?    1 Yes 0 No

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks ..

Answer / abhilash

What you want to override in a PROC?

Lets take an example

//STEPA EXEC DEBASIS

inside the PROC DEBASIS we have

//STEPA001 EXEX .......,TIME=10
//DD01 DD .......

If you want to override a Step inside the PROC,
In JCL
//STEPA EXEC DEBASIS,TIME.STEPA001=20


If you want to override a DD statement
In JCL
//STEPA EXEC DEBASIS
//STEPA001.DD01 DD parameter=value

Is This Answer Correct ?    1 Yes 0 No

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks ..

Answer / amra

In



To use a different PROC, you use a different library in the
JCLLIB. Your test PROC can be saved there with the same
name.

Is This Answer Correct ?    0 Yes 0 No

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks ..

Answer / madhus s reddy

@kalpana: it is not possible to override the procedure. What
is the need of overriding the entire procedure?. you can
override only the dd statements in the procedures.

Is This Answer Correct ?    0 Yes 0 No

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks ..

Answer / heman

I cannot totally agree with Dwivedi. But, to the question
whether we can override a PROC, still it is a question to
me. I haven't faced any such examples in my 4 years tenure.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More JCL Interview Questions

whats the diff bw the evaluate also and and?

0 Answers   CGI,


What is the use of IEBGENER ?

2 Answers   Cap Gemini, Wipro,


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,


GDG Create syntax ?

4 Answers   Xansa,


How to identify in JCL that an input file is empty without reading it?

4 Answers   L&T,






On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?

2 Answers  


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


What is the purpose of dd dummy statement?

0 Answers  


In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


Explain concatenating datasets?

2 Answers   CTS,


common jcl abends??

2 Answers   ADP, Wipro,


how you can direct the data to spool using SYSOUT option?

0 Answers  


Categories