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

Open and Close in case of GSAM input file


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

New User


Joined: 17 Sep 2007
Posts: 68
Location: Kochi

PostPosted: Mon May 11, 2009 4:01 pm
Reply with quote

Hi,

I need to introduce a GSAM input file for an existing IMS/DB program. Is it really necessary to have code for OPEN and CLOSE of the file? Or can we just have the read for GSAM file using Get next options.

Please confirm.

Thanks.
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Thu May 14, 2009 5:16 pm
Reply with quote

Open is really required... Otherwise you will get error that..File is not opened but trying for read..

Regards,
Bipin Peter
Back to top
View user's profile Send private message
t5590ag

Active User


Joined: 21 May 2009
Posts: 139
Location: United States

PostPosted: Fri May 22, 2009 4:35 pm
Reply with quote

you dont need to close file..thats not mandatory..am not talking about side impacts but pgm executes fine.
Back to top
View user's profile Send private message
uma_mca2007

New User


Joined: 26 Jan 2007
Posts: 7
Location: India

PostPosted: Fri May 22, 2009 8:35 pm
Reply with quote

GSAM files has to be processed like IMS DB Database and NOT like
ordinary files
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
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
Search our Forums:

Back to Top