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
 
How to read and write in a same file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ashok4u_it

New User


Joined: 12 Mar 2008
Posts: 53
Location: Chennai

PostPosted: Tue Oct 21, 2008 3:58 pm    Post subject: How to read and write in a same file
Reply with quote

Hi,

Is there anyway to read and write in the same file using COBOL.
I know it can be done using I-O mode. But, I am not getting exact way to do this. If anybody have any sample programs or is there any sample program link for this request, please let me know. I need it very urgent to fix an production issue.

Thanks in advance.

Regards
K.Ashok.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10396
Location: italy

PostPosted: Tue Oct 21, 2008 4:14 pm    Post subject: Reply to: How to read and write in a same file
Reply with quote

Quote:
.... need it very urgent to fix an production issue. ...


not very wise to rely on forum answer to solve urgent production issues
just expect Your production cycle to be delayed a bit
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8214
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 21, 2008 4:53 pm    Post subject:
Reply with quote

Quote:
I know it can be done using I-O mode. But, I am not getting exact way to do this.
Since you're not providing an exact question, you're probably not going to get an exact answer.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 22, 2008 2:04 am    Post subject: Re: How to read and write in a same file
Reply with quote

Hello,
ashok4u_it wrote:
I am not getting exact way to do this.
How do you expect someone to help with this much of information in hand..

Quote:
If anybody have any sample programs or is there any sample program link for this request, please let me know.
may be this link can be of your help...

http://www.ibmmainframes.com/viewtopic.php?t=34651&highlight=input
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am

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