IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to read and write in a same file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Oct 21, 2008 4:14 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 21, 2008 4:53 pm
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

Superior Member


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

PostPosted: Wed Oct 22, 2008 2:04 am
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...

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top