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

a dd statement has 2 types of parameters. Name them?

1177


how can you check if a file is empty using jcl?

1485


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

1517


what is “Cond= even” and “Cond=only”?

1366


List in order the hierarchical levels of jcl?

1150


List the various advantages of using jcl language?

1519


What parameter of the job statement is used to limit the cpu time consumed by the job?

1332


What is concatenating?

1140


Explain how can the submitting users racf authority be overridden in a job stream?

1190


Is condition checking possible in jcl? If yes, how?

1343


How can a stopped job be started again?

1242


What is the function of a dd statement?

1258


Differentiate between the joblib and the steplib statements?

1519


Can we use DISP=SHR in output file in JCL

1462


what are the types of abends that occur on job failure? And explain the possible causes of these

1685