Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Rewirting a variable block file in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
sathish1760

New User


Joined: 02 May 2008
Posts: 42
Location: chennai

PostPosted: Wed Nov 26, 2008 11:30 am    Post subject: Rewirting a variable block file in cobol
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Wed Nov 26, 2008 12:10 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Cristopher

New User


Joined: 31 Jul 2008
Posts: 53
Location: NY

PostPosted: Wed Nov 26, 2008 12:11 pm    Post subject: Reply to: Rewirting a variable block file in cobol
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Wed Nov 26, 2008 1:16 pm    Post subject: Reply to: Rewirting a variable block file in cobol
Reply with quote

only if You do not change the record length
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Wed Nov 26, 2008 1:29 pm    Post subject: Re: Rewirting a variable block file in cobol
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us