Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

if an IMS GSAM database can be a GDG when not using VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Hal2001

New User


Joined: 06 Jun 2006
Posts: 4

PostPosted: Tue Jun 06, 2006 1:21 am    Post subject: if an IMS GSAM database can be a GDG when not using VSAM
Reply with quote

Does anyone know if an IMS GSAM database can be a GDG when not using VSAM?
Back to top
View user's profile Send private message

IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Jun 08, 2006 3:08 pm    Post subject: Re: if an IMS GSAM database can be a GDG when not using VSAM
Reply with quote

OK to use as GDG, we do this a lot.
Back to top
View user's profile Send private message
gowtham_1982
Warnings : 1

Active User


Joined: 02 Dec 2005
Posts: 109

PostPosted: Mon Jun 12, 2006 8:42 am    Post subject: Re: if an IMS GSAM database can be a GDG when not using VSAM
Reply with quote

Hal2001 wrote:
Does anyone know if an IMS GSAM database can be a GDG when not using VSAM?



hi hal2001,

i dont understand your part of question 'when not using VSAM'?

as far as i know, we don't ( or can't) use VSAM files for IMS instead of GSAM file. we use GSAM file which are flat files unlike a VSAM CLUSTER.

kindly clarify me.

gowtham
Back to top
View user's profile Send private message
Hal2001

New User


Joined: 06 Jun 2006
Posts: 4

PostPosted: Mon Jun 12, 2006 5:19 pm    Post subject:
Reply with quote

The physical access method that is used by GSAM depends on the type of dataset the application program has defined. If the programs is coded to access a sequential dataset, then I believe BSAM is used, but if the application is coded to access a VSAM ESDS then GAMS would use the VSAM access method.
In my question, I was trying to say that the GDG for my GSAM database would be a flat sequential file and not a VSAM ESDS. I'm trying to better understand how using a GDG would impact the JCL if a restart were needed and the GSAM database was being used as output.
Normally, you would code the (+1) for the GDG and then DISP=(NEW, CATLG,CATLG). What changes in the JCL for the Restart of a program that uses a GSAM database as an output dataset?
Back to top
View user's profile Send private message
Varinder

New User


Joined: 10 Jun 2006
Posts: 4

PostPosted: Wed Jun 14, 2006 9:00 am    Post subject: Re: if an IMS GSAM database can be a GDG when not using VSAM
Reply with quote

Yes, you can use GSAM files as GDGs

Varinder Singh
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us