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
 

 

How to Copy flat file to GSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: How to Copy flat file to GSAM file
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

Senior Member


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

PostPosted: Fri May 21, 2010 6:10 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Fri May 21, 2010 6:14 pm    Post subject: Reply to: How to Copy flat file to GSAM file
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    Post subject: Reply to: How to Copy flat file to GSAM file
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

Senior Member


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

PostPosted: Fri May 21, 2010 9:56 pm    Post subject: Re: Reply to: How to Copy flat file to GSAM file
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    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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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