Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 213
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 Compare yesterday's date to the one o... migusd SYNCSORT 7 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us