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
 

 

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: 10256
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: 8057
Location: East Dubuque, Illinois, 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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 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 READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
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