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

CATALOG PROC
//CATPROC PROC
//STEP1 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=FILEA,
// DISP=(,CATLG,DELETE),
// SPACE=(TRK,(100,50),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSOUT DD SYSOUT=*
//

INVOKING JCL
//Z000960P JOB CLASS=E,MSGCLASS=E,NOTIFY=&SYSUID
// JCLLIB ORDER=Z000960.SOURCE.JCL
//MYPROC EXEC CATPROC
//STEP1.DD1 DD DSN=FILEB,DISP=(NEW,CATLG)

AFTER EXECUTE THE JCL FILEB WILL BE GETTING OVERRIDE

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1335


how to run batch program without jcl?

11686


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

1349


What is the purpose of dd * statement in jcl?

1330


how do you access an uncataloged dataset in a jcl?

1808


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1456


Name what parameter directs the output of the job log dataset?

1105


Explain the function of dd disp parameter?

1172


Explain how can the disposition of sysout datasets be set for an entire jobstream?

1147


What are the rules employed while naming the steps in a job?

1206


How can a stopped job be started again?

1240


What do you understand by the terms: joblib and steplib?

1255


what is use of disp parameter in dd statement?

1150


How can values be passed from the job stream to an executable program?

1514


How can unused space allocation be returned to the system when a dataset is closed?

1559