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

About Sequential files


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
varalakshmi.G

New User


Joined: 04 Jun 2007
Posts: 55
Location: Hyderabad

PostPosted: Mon Sep 07, 2009 7:49 pm
Reply with quote

Hi,

I think in Sequential file we can not delete or update any record randomly.
Please confirm. If we can please let me know how can it be done through COBOL.

Regards
Varalakshmi.G
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Mon Sep 07, 2009 8:01 pm
Reply with quote

The COBOL Language Reference manual can either confirm or deny that. Have you looked there?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Sep 07, 2009 8:20 pm
Reply with quote

Quote:
I think in Sequential file we can not delete or update any record randomly.
Perhaps if you review the definition of what sequential means and compare it to the definition of random, the answer will appear. Reading the manuals is also a very strongly recommended step since almost everything is found in them.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 08, 2009 3:45 am
Reply with quote

Hello,

After an exaustive search proving that cobol does not randomly read/update sequential files, one can then implement code to copy the file, applying any needed modificatoins to the copy. . .

That bit possibly won't be mentioned directly in the reference manual. . .
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top