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

How to Copy flat file to GSAM file


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

New User


Joined: 21 May 2010
Posts: 2
Location: Chennai

PostPosted: Fri May 21, 2010 4:21 pm
Reply with quote

Hi I have one flat file. I need it to be copied to GSAM file. Can I do that
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri May 21, 2010 6:10 pm
Reply with quote

I'm not sure what are you asking? Do you understand what a GSAM file is?

There is nothing great with respect to GSAM files as they too are QSAM (flat) files. It's a batch processing access method for IMS that allows sequential files to be treated as IMS databases. So it all depends on the application whether you need to use the file as QSAM or GSAM - that means, GSAM itself is essentially a(n) QSAM file so your question does not stand on a practical ground, to start with!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 21, 2010 6:14 pm
Reply with quote

Quote:
I need it to be copied to GSAM file


GSAM is not a dataset organization...
is the <access method> used by IMS to access plain old PS datasets ( with some frills )

any tool capable of copying from PS to PS will do
Back to top
View user's profile Send private message
rachanas

New User


Joined: 21 May 2010
Posts: 2
Location: Chennai

PostPosted: Fri May 21, 2010 9:51 pm
Reply with quote

Hello ... Thanks for the info...

I am having a flat file which is nothing but database dump. I need to pass IMS calls to this file. What all changes does it require to access sequentially.??
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri May 21, 2010 9:56 pm
Reply with quote

rachanas wrote:
I am having a flat file which is nothing but database dump. I need to pass IMS calls to this file. What all changes does it require to access sequentially.??
If I've to make an intelligent guess, bold text in above quote, probably, implies that you want to "read through" that file using IMS (so far programming language is unkown) interface?
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
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
Search our Forums:

Back to Top