About the only VSAM GDG I am aware of are the Logstreams however  they are
not named G000.V00

Regards,


Steve 


----------------------------------------------------------------------------
----

This electronic mail (including any attachments) may contain information
that is privileged, confidential, and/or otherwise protected from disclosure
to anyone other than its intended recipient(s). Any dissemination or use of
this electronic email or its contents (including any attachments) by persons
other than the intended recipient(s) is strictly prohibited. If you have
received this message in error, please notify us immediately by reply email
so that we may correct our internal records. Please then delete the original
message (including any attachments) in its entirety. Thank you

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Frank Swarbrick
Sent: Tuesday, September 26, 2023 12:41 PM
To: [email protected]
Subject: Re: VSAM GDG

Weird that it created generation 1 correctly (as a VSAM file), but only that
generation seems to work.  Oh well!
Thanks,
Frank
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of
Richard McIntosh <[email protected]>
Sent: Tuesday, September 26, 2023 11:32 AM
To: [email protected] <[email protected]>
Subject: Re: VSAM GDG

GDG's are for sequential files. You can make a backup of a VSAM to a
sequential GDG though.
To create a new gen you should be using PROD.CVSC.AHI.BKP(+1)



-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Frank Swarbrick
Sent: Tuesday, September 26, 2023 12:27 PM
To: [email protected]
Subject: [External] : VSAM GDG

Are VSAM GDGs supported?  I created the GDG base using the JCL below and was
able to create the first generation, but when I run that job again it tries
to create generation 1 again, giving me a JCL error because the GDS already
exists.


//DEFGDG   JOB ,'DEFINE AHI GDG

//DEFINE   EXEC PGM=IDCAMS

//SYSPRINT DD SYSOUT=*

//SYSIN    DD  *

 DELETE (PROD.CVSC.AHI.BKP)

 IF MAXCC LE 8 THEN SET MAXCC=0

DEFINE GDG ( -

     NAME(PROD.CVSC.AHI.BKP) -

     LIMIT(5) -

     SCRATCH -

 )


Thanks,

Frank

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to