IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

wants material on gsam db


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Tue Apr 19, 2005 8:14 pm
Reply with quote

hi all,

i want some information regarding gsam db

thanks & regards
ksivapradeep
Back to top
View user's profile Send private message
Vijay Bhadauria

New User


Joined: 28 Mar 2005
Posts: 8

PostPosted: Wed Apr 20, 2005 10:06 am
Reply with quote

Hi Ksivapradeep,

GSAM databases are sequentially organized databases designed to be compatible with MVS data sets. GSAM databases can be on a data set previously created or one later accessed by the MVS access methods VSAM or QSAM/BSAM. GSAM data sets can use fixed-length or variable-length records when VSAM is used, or fixed-length, variable-length or undefined-length records when QSAM/BSAM is used. If VSAM is used to process a GSAM database, the VSAM data set must be entry sequenced and on a DASD. If QSAM/BSAM is used, the physical sequential (DSORG=PS) data set can be on a DASD, tape, or unit record device. Because GSAM is designed to be compatible with MVS data sets, the GSAM database has no hierarchy, database records, segments, or keys.

GSAM databases are loaded in the order in which you present records to the load program. You cannot issue DLET and REPL calls against GSAM databases; however, you can issue ISRT calls after the database is loaded but only to add records to the end of the data set. Records are not randomly added to a GSAM data set.

GSAM database is basically used for Chekpointing/Restart. IMS takes cares of correct repositioning of the GSAM database at the time of restart.

So in order to use a sequential (MVS) file as GSAM file(IMS), you need to create DBD and have to make entry in PSB used for the program using GSMA file.


Cheers,
Vijay
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Anyone has PL/I learning material PL/I & Assembler 2
No new posts Writing on to GSAM variable length JCL & VSAM 6
No new posts GSAM from IMS online IMS DB/DC 4
No new posts GSAM conversion in IMS DB to DB2 migr... IMS DB/DC 2
No new posts Need Comparex Study Material JCL & VSAM 3
Search our Forums:

Back to Top