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 we override data definitions in jcl.
can any one give detailed example

Answer Posted / suputhru

meenu u r corrrrect.

STEPNAME.DDNAME DD PARAMETERS;
in place of parameters we can write the parameters which we want to override

//PROC1 PROC
//STEP1…..
//DD1 DD DSN=FILE1,DISP=SHR


//
Now we can override dd parameter disp=shr to DISP=OLD.
//JOB1 JOB..
//PROCLIB…
//STEP001 EXEC PROC1
//STEP1.DD1 DD DSN=FILE1,DISP=OLD.

SYMBOLIC parameters: used to orverride parameters on the DD statement.
They can be used in cataloged and instream procs.
//ddname DD &parameter

Values assigned at proc and exec statements.

//JOB1 JOB..
//PROC1 PROC DISPO=NEW ----here dd parameter value assigned at proc.
//STEP1 EXEC PROC1
//DD1 DD DSN=FILE1,DISP=&DISPO ------it means DISP=NEW.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can program checkpoints be stored for use in a restart?

1419


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

1317


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1053


How can the attributes of one sms dataset be copied to another dataset?

1411


in ways data can be passed to a COBOL program from JCL?

1199


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2432


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1211


Why include statement is used in a jcl?

1154


Explain how can the attributes of one sms dataset be copied to another dataset?

1201


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4884


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.

1203


Explain about LMFREE�free data set from its association with data ID

1606


How do you access an uncatalogued dataset in a jcl?

1205


How would you understand error(execution phase)?

1230


Explain the function of //jcllib statement?

1193