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

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

1226


what is the use of IEBGENER utility?

1170


List the different jcl statements that are not permitted in the procedures?

1085


Is it possible to code instream data in a PROC?

1329


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

1214


Can I send output of job to my remote device careerride123?

1137


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1227


What do you understand by the term job time – out and how can you overcome that?

1029


Explain about LMQUERY�give a dialog information about a data set

1450


what is the compile process of cobol program expalin with code

2584


what is SOC4 error?

1222


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1298


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

1462


What is the syntax of JCL statement?

1234


how do you code a null statement?

1339