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

Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?

2 Answers   CTS,


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,


Which dd parameters are required?

0 Answers  


How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?

3 Answers  


What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?

12 Answers   Convergys,






what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?

2 Answers   Verizon,


There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

2 Answers   Merrill Lynch,


What is meant by S0C7 system abend code?

8 Answers  


how can u identify the db2 from jcl ?

2 Answers   TCS,


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

0 Answers   HF, iNautix,


Explain the function of the steplib dd statement?

0 Answers  


if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 Answers  


Categories