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

Answers were Sorted based on User's Feedback



how can we override data definitions in jcl. can any one give detailed example..

Answer / meenu

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

Is This Answer Correct ?    13 Yes 0 No

how can we override data definitions in jcl. can any one give detailed example..

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

how can we override data definitions in jcl. can any one give detailed example..

Answer / sj@iy

Adding to that..
Parameters can be overridden on the EXEC statement in
addition to the DD statement.

Sample for overriding REGION parameter of STEP10 in PROC

//STEP10 EXEC PGM=Program1, REGION=56K
//*Overriding the REGION parameter for STEP10
//SAMPPROC EXEC PROC=PROC1, REGION.STEP10=72K

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More JCL Interview Questions

The maximum number of steps in a job?

4 Answers  


Please give me the coding for converting VB to FB and FB to VB

3 Answers   HP,


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

0 Answers  


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


Why include statement is used in a jcl?

0 Answers  


Can we use DISP=SHR in output file in JCL

0 Answers  


How do you submit JCL via a Cobol program?

2 Answers   Cap Gemini,


how can handle the s0c4 abend???

3 Answers  


If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


How to check empty file in jcl?

4 Answers   Infosys,


is there any way to execute more than one proc in the same exec statement at the same time..?

0 Answers  


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


Categories