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: 10256
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
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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