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: 208
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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