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


Is it possible to take a PDS and write it to a GDG? If so,
can you provide an example? Thanx

Answers were Sorted based on User's Feedback



Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / vj

Yes, it is possible to write a pds to gdg.. i tried the
below jcl and it worked out....

//JS001 EXEC PGM=IEBGENER
//*
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=TTTTT.NNNN.OOOO(PPPP),DISP=SHR
//SYSUT2 DD DSN=AAAA.BBB.GDG(+1),
// DISP=(NEW,CATLG,DELETE),
// MGMTCLAS=MC0044,
// VOL=(,,,10),
// SPACE=(10796,(5,3),RLSE),
// DCB=(RECFM=FB,LRECL=80,
// DSORG=PS,BLKSIZE=0,BUFNO=30)
//*

Is This Answer Correct ?    2 Yes 0 No

Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / bjoern

//COPY EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DISP=OLD,DSN=PDS
//SYSUT2 DD DSN=PDS.GDG(+1),
// DCB=(RECFM=FB,LRECL=80),
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(11,1,10),RLSE)

Is This Answer Correct ?    3 Yes 2 No

Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / madhu

hi Mr.Bjoern
is it correct answer?

Is This Answer Correct ?    2 Yes 2 No

Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / garry

@Madhu.
Not it not.

He is trying to write a PDS member to a GDG.

But your requirement/question is just opposite.

Is This Answer Correct ?    0 Yes 0 No

Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / garry

Let me check once again and ignore previous reply .

Is This Answer Correct ?    0 Yes 0 No

Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / mdvasanth86

No doubt, it will work.

A GDG is similar to a PS in most ways we use it.

Is This Answer Correct ?    0 Yes 0 No

Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx..

Answer / sanjeev

it is not possible to take pds to write into gdg because
gdg contains only sds files.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More JCL Interview Questions

Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

0 Answers   CGI, Verizon,


What is default if we don't specify RD parameter at all ?

1 Answers   IBM,


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


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

0 Answers  


what is full form of AIX

3 Answers   Accenture,


While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?

3 Answers   Steria,


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


What is Uncatalog dataset? How can we access/use them?

1 Answers  


when we use sysprint and sysout statements

3 Answers  


how to execute the last 5 steps in jcl

2 Answers   Syntel,


what's the significance of freespace(0 0) and freespace(100 100)

3 Answers  


There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.

3 Answers   IBM,


Categories