View previous topic :: View next topic
|
Author |
Message |
varalakshmi.G
New User
Joined: 04 Jun 2007 Posts: 55 Location: Hyderabad
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
The COBOL Language Reference manual can either confirm or deny that. Have you looked there? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|