The Tek-Tips staff will check this out and take appropriate action. Click Here to join Tek-Tips and talk with other members! Already a Member? Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free. Register now while it's still free! Already a member? Close this window and log in. Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail. If the access mode is random or dynamic, then to write a record, the file must open in Output mode or I-O mode.
Rewrite verb is used to update the records. File should be opened in I-O mode for rewrite operations. It can be used only after a successful Read operation.
Rewrite verb overwrites the last record read. Delete verb can be performed only on indexed and relative files. The file must be opened in I-O mode. In sequential file organization, records cannot be deleted. The record last read by the Read statement is deleted in case of sequential access mode.
In random access mode, specify the record key and then perform the Delete operation. Start verb can be performed only on indexed and relative files. It is used to place the file pointer at a specific record.
The access mode must be sequential or dynamic. File must be opened in I-O or Input mode. I prefer happens and it all stinks Diffrence between a sequential binairies file and direct binairies file. Way to view Line Sequential files in Windows using Cobol. Appending to a sequential file.
Board index » cobol All times are UTC. William M. Appending to a sequential file says Appending to a sequential file I was first going to send you the following note: The program you show SHOULD result in what you want - not what you are getting. Or of course you can write your own. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 11 years, 11 months ago. Active 9 years, 9 months ago.
Viewed 3k times. Improve this question. Cloves Almeida Cloves Almeida 83 1 1 silver badge 6 6 bronze badges. What kind of error do you get? Is it a compile time error or a run time error? And as Peter asks, give us a bit more detail. File Status 39 indicates a conflict between the actual file structure and how you have defined it in your program. This error occured on your OPEN statement.
0コメント