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
 

 

GSAM file as a sequential file

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

New User


Joined: 07 Dec 2009
Posts: 18
Location: mumbai

PostPosted: Tue Feb 02, 2010 5:57 pm    Post subject: GSAM file as a sequential file
Reply with quote

Hi,

I have a program which was using GSAM files as input and output but now since the program no more access the IMS database, I want to process this input file as a sequential file. Agreed that I will be required to make program and jcl changes to remove all the IMS related stuff. But is this possible?
Back to top
View user's profile Send private message

Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Feb 02, 2010 6:42 pm    Post subject:
Reply with quote

Can you please give some background - why no more IMS? GSAM is a single level database - what was it's purpose?
Back to top
View user's profile Send private message
medhachaudhari

New User


Joined: 07 Dec 2009
Posts: 18
Location: mumbai

PostPosted: Wed Feb 03, 2010 8:22 am    Post subject:
Reply with quote

The program used to access the IMS database but now the IMS database is no more accessed. The check point restart logic will be removed. Hence now we want to process this file as a sequential file. My doubt was whether we can still process this file as a sequential file with changes to the proc and program with respect to IMS.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2435
Location: Netherlands, Amstelveen

PostPosted: Wed Feb 03, 2010 1:03 pm    Post subject:
Reply with quote

The z/OS access methods that GSAM can use are BSAM and VSAM. A GSAM database is a z/OS data set record that is defined as a database record. The record is handled as one unit; it contains no segments or fields and the structure is not hierarchic.

Beforementioned any helpfull?
Back to top
View user's profile Send private message
medhachaudhari

New User


Joined: 07 Dec 2009
Posts: 18
Location: mumbai

PostPosted: Wed Feb 03, 2010 1:24 pm    Post subject:
Reply with quote

As per my knowledge, a GSAM file is actually a sequential file. But the way it is accessed is like a IMS database with no segments. But now if I do not want to access it like a IMS database(like GSAM) but like a sequential file...is this possible?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2435
Location: Netherlands, Amstelveen

PostPosted: Wed Feb 03, 2010 2:17 pm    Post subject:
Reply with quote

Like I said before, VSAM, BSAM and QSAM kan be used to process
GSAM datasets. For the "record lay-out" you have to find that information
in DBD's, PSB's etc.
For physical things like DCB's you can use zillions of utilities.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Feb 03, 2010 6:08 pm    Post subject:
Reply with quote

Your GSAM "file" - it appears - was used for checkpoint restart. If you no longer have IMS updates, you no longer need ANY file for that purpose.
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 Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


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