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

what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?

1 Answers  


what is the difference between JES3 and JES2?

0 Answers  


My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)

11 Answers   HCL, IBM, L&T, TCS,


what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


What is RESTART? How is it invoked?

8 Answers   HSBC,


What parameters can be used to limit the number of records written to a sysout dataset?

1 Answers  


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,


How to find the number of duplicates in a file using Sort?

4 Answers   Fidelity,


hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


Categories