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

What parameter directs the output of the job log dataset?

1282


what is use of disp parameter in dd statement?

1104


Explain how can a stopped job be started again?

1142


Name a few IBM utility programs, and explain its function.

4980


What is jcl in mainframe?

1207


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1950


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1467


Mention the types of job control statements?

1176


How can a fb file convert to vb file using sort program?

1347


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

2452


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

1442


What is the difference between the positional and keyword parameters? Give examples.

1270


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

1313


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1315


How dummy is used in jcl?

1152