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
 

 

Open and Close in case of GSAM input file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Open and Close in case of GSAM input file
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: 210
Location: Cochin/Kerala/India

PostPosted: Thu May 14, 2009 5:16 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: Open and Close in case of GSAM input file
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    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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 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


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