View previous topic :: View next topic
|
Author |
Message |
sathish1760
New User
Joined: 02 May 2008 Posts: 42 Location: chennai
|
|
|
|
Hi,
I am getting an abend while trying to rewrite a variable block file in cobol. Is it possible to perform rewrite operation in variable block files? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
When you post "it didn't work" all you do is waste everyone's time.
What did you try (show the select, fd, open, read/re-write) and describe what error occurred. If the error is in the jes output, post that output. Mention the vsam return code. |
|
Back to top |
|
|
Cristopher
New User
Joined: 31 Jul 2008 Posts: 53 Location: NY
|
|
|
|
Hi,Please let us know the following thigs:
What is the abend code? Have you opened the file in I-O mode and was there a successful READ performed before going for the updation?
Cris |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
only if You do not change the record length |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hello,
sathish1760 wrote: |
Is it possible to perform rewrite operation in variable block files? |
Variable or Fixed - rewrite actually does not discriminate on this basis, it's just rewrite. You need to post what had been asked many times. |
|
Back to top |
|
|
|