Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can the attributes of one sms dataset be copied to another dataset?

0 Answers  


Name the system library from which modules are retrieved at execution

2 Answers  


Can we call instream to catalog and catalog to instream?

0 Answers  


If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 Answers   IBM,


Does jcl support automatic restart?

0 Answers  


i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?

3 Answers   IBM,


How to execute step2,step1, step3 if step1,2,3 are in order

8 Answers   CSC,


Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


How are GDGs concatenated?

1 Answers  


How can an in-stream dataset be terminated?

0 Answers  


i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

0 Answers   IBM,


Categories