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


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2.
How can I use GDG to use it as input file at step2.

Answers were Sorted based on User's Feedback



I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and w..

Answer / satya

//step1 dd dsn=GDG.smaplegdg.base(+1),Disp=
(new,catlg,delete)
When refering it in next step
//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr

Is This Answer Correct ?    14 Yes 0 No

I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and w..

Answer / g.ranjith kumar reddy

//step2 dd dsn=GDG.smaplegdg.base(+1),Disp=Shr

Is This Answer Correct ?    5 Yes 0 No

I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and w..

Answer / vaneesh khurana

In the same jcl if we have to refer a GDG version which was
build in any previous step then have to mention it as (+0)
not (+1)

//STEP1 DD DSN=GDG.smaplegdg.base(+1),
Disp=(NEW,CATLG,DELETE)

//STEP2 DD DSN=GDG.smaplegdg.base(+0),DISP=SHR

Is This Answer Correct ?    1 Yes 21 No

Post New Answer

More JCL Interview Questions

What does IEBGENER do?

10 Answers   BirlaSoft,


How is a type of file defined in the jcl that executes the cobol program?

0 Answers  


How do you submit JCL via a Cobol program?

2 Answers   Cap Gemini,


what is the purpose of coding notify parameter in job statement?

0 Answers   IBM,


For how long a job can be executed continuously in a mainframe ?

4 Answers  


Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????

3 Answers  


How to Enter The Spool Area In Real Time?

7 Answers   IBM,


how can u identify the db2 from jcl ?

2 Answers   TCS,


What is a JCL Command statement ?

1 Answers   IBM,


How many parameters are there to a DISP statement and what are their uses ?

3 Answers  


Can we change the LIMIT of GDG?

6 Answers   HCL,


There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.

1 Answers   IBM,


Categories