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...

In a proc i will concatinate 4 dd statements.i want to
overide 3 dd statement through jcl how?

Answer Posted / premkumar

Since it is concatenated, you can't have DD names as
mentioned in the previous responses. suppose your 4 dd
statements inside a proc are as below

//myproc PROC
//STEP01 EXEC PGM=progname
//DD01 DD DSN=userid.base.file1
// DD DSN=userid.base.file2
// DD DSN=userid.base.file3
// DD DSN=userid.base.file4
//*

Now you can override the 3 dd statements in JCL as
//POCNAME1 myproc
//STEP01.DD01 DD DSN=userid.base.file5
// DD DSN=userid.base.file6
// DD DSN=userid.base.file7

Note: the fourth file has been left as it is because the
questionsis to override only the first 3 statments.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of dd * statement in jcl?

1011


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1191


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

1406


Define concatenating?

1053


What are the parameters that are used in creating a gdg?

1148


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2179


Differentiate between the joblib and the steplib statements?

1337


What is Cataloged Procedures?

1104


what is the use of JCL?

1109


What is the function of the dd mgmtclas keyword in sms datasets?

1179


Brief description of inline procedure of jcl.

1180


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

1110


Is their any set of rules for dd? Explain.

1098


What parameter directs the output of the job log dataset?

1211


which parameter is used to check the syntax of a jcl without executing it?

1304