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 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 / muttiah

Let me frame the question in this way..

Say .. I have the job(Job1) which has a proc(proc1) and
this Proc1 is calling another Proc say Proc2..

So, you want to override the Dataset in a step of proc2 in
Proc1..This is possible..But overriding the dataset in
proc2 from the job1 is not possible.say proc A calls ProcB
and ProcB calls ProcC.. Then we can override details in
ProcC by ProbB only, but not with ProcA i guess you got the
point made.

//Job1 Job ....
//step1 exec proc1

//proc1 proc
//step1 exec proc2

//proc2 proc
//stepn exec pgm=iefbr14
//delstep dd dsn=Allinterivew.PS,disp=(mod,del,del),
// space=(trk,0)

Now change the code in proc1 as
//Proc1 proc
//step1 exec proc2
//stepn.delstep dd dsn=Deletefile.ps

In this way we can change the DS in proc2 from proc1. Hope
this makes much sense.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the format of comment statement?

1124


What parameter directs the output of the job log dataset?

1214


I need exexution process for JCL programs

2228


How to pass data to a program that is coded in an exec statement?

1271


what is the use of JCL?

1109


what is use of dcb parameter in dd statement?

1241


is there any way to execute more than one proc in the same exec statement at the same time..?

2582


What is the purpose of disp parameter?

1062


List the different components of jcl statement?

1035


how you can access an uncataloged dataset in a JCL?

1075


How to submit a jcl from cics?

1091


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1323


What is the function of //jcllib statement?

1268


How do you access an uncatalogued dataset in a jcl?

1164


What is the function of the steplib dd statement?

1136