IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Geeting File Status 24 while writing to a VSAM file


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu May 08, 2008 8:55 pm
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.

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 -

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
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

Moderator Emeritus


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

PostPosted: Mon Jun 02, 2008 10:13 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top