Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10308
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us