Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2442
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: 2442
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us