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
 

 

Geeting File Status 24 while writing to a VSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
bimal3099

New User


Joined: 05 May 2008
Posts: 3
Location: India

PostPosted: Thu May 08, 2008 8:15 pm    Post subject: Geeting File Status 24 while writing to a VSAM file
Reply with quote

Hi All,
I am facing an issue wherein one of my job is abending while trying to
write a KSDS file as it is getting a file status code of 24 .Could anyone please advise as to how can we go about resolving the same.

Thanks,
Bimal icon_cry.gif
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 08, 2008 8:40 pm    Post subject:
Reply with quote

To bad 'MAINFRAME CONSULTANT's in India do not have access to documentation or manuals.

Quote:

An attempt was made to write beyond the externally defined boundaries of a relative or indexed file. Or, a sequential WRITE statement was attempted for a relative file and the number of significant digits in the relative record number was larger than the size of the relative key data item described for the file.
Back to top
View user's profile Send private message
bimal3099

New User


Joined: 05 May 2008
Posts: 3
Location: India

PostPosted: Thu May 08, 2008 8:50 pm    Post subject: Reply to: Geeting File Status 24 while writing to a VSAM fil
Reply with quote

Hi Good Mainframe Consultant,
The definition you have put in can be found any where u search but i do not want that i tried all possible ways by changing the key length but in vain i need to know the different alternatives which could help me in resolving this issue.Once again thank u for you help.

Regards,
Bimal
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 08, 2008 8:54 pm    Post subject:
Reply with quote

bimal3099,

you have got to learn to read. you have exceeded your hi-rba.

write beyond the externally defined boundaries of a relative or indexed file
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu May 08, 2008 8:55 pm    Post subject:
Reply with quote

Dick is right and you guys really need to do your own legwork as it's an essential part of your JOB DESCRIPTION and DUTIES!

What will you do after we retire?

The following LINK should suffice for the majority of version/releases of COBOL as these 2-byte status values haven't changed in ages.

Watch the wraparound and add this URL to your Favorites.

If this URL or any other URL with which may benefit your job performance, is blocked by a firewall, you need to submit a request to your immediate supervisor to allow access.

http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/igy3lr00/6.1.8.9.1?SHELF=igy3sh00&DT=20011206182158#HDRSTATKEY

The main URL for IBM Book Manager is -

http://publib.boulder.ibm.com/cgi-bin/bookmgr/library

Bill
Back to top
View user's profile Send private message
bimal3099

New User


Joined: 05 May 2008
Posts: 3
Location: India

PostPosted: Thu May 08, 2008 11:53 pm    Post subject: Few more updates
Reply with quote

Few issue i have here is when my input file had 17000 records it abended with the above error while processing the 1972 record in the I/p file and when i run the same job with the above record alone in the i/p file then the job is completed successfully.

The above file when i split into 5 file with 3000 records each then the job is going through fine .

Is this something to do with the volume of data?

The following process happens with the vsam file step by step:
1) the vsam file is opened in io mode
2) then it is read and the seq no in the record is then updated using a rewrite command.
3)Now the i/p file is read and the vsam file key is created based on the data read from the i/p file .
4)This key which is created when the program tries to write to the vsam file the job is abending with file status 24.
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: Mon Jun 02, 2008 10:13 pm    Post subject:
Reply with quote

Hello,

Quote:
Is this something to do with the volume of data?
Yes, you have been told that multiple times now. Which part of "you have exceeded. . . " is not clear?

Said differently, you cannot pour 4 quarts into a 3-quart container.
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm


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