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: 10291
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 Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
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


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