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

GSAM file as a sequential file


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
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
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
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Feb 03, 2010 1:03 pm
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Feb 03, 2010 2:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top