MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VSAM Error code- 24.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 3:30 am    Post subject: VSAM Error code- 24. Reply with quote

Yes this is an FAQ. But can someone please provide me with a link to this.
The link on the main page is not working. There used to an IBM VSAM Knowledge base site (found out by doing a search here)...But has been removed and we are being redirected to a new site. Sad

Thanks..


I am looking for an explanation for Error Code 24.
Back to top
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 4:28 am    Post subject: Reply with quote

cheers mate..u r a life saver...!!!
Back to top
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 5:21 am    Post subject: Reply with quote

Ravi,

can you help me with this? what could be meant by
'trying to write beyond the externallu defined boundaries of an indexed file'? Does it mean trying to write a length greater than the defined lrecl of the file?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Apr 14, 2004 5:25 am    Post subject: Reply with quote

mfjin,

Are you getting a return code of 24 when writting? If that is the case , then You are trying to write a record that is longer than your MAX LRECL for the file. for ex if the file max lrecl is 100 you are trying to write a record that has more than 100 bytes.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Apr 14, 2004 5:37 am    Post subject: Reply with quote

Mfjin,

You can also check if you have reached the 4GB(4,294,967,295) limit for standard VSAM files, which is roughly about 5825 cylinders on a standarad 3390 dasd device type. you need to create the cluster with extended attributes. Talk to your storage administration folks and ask them to convert the non-Extended attribute vsam cluster to extended attribute vsam cluster

If your shop is sms managed then you can use the DATACLASS(EXTENDR) parameter on the definiton of the vsam cluster.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 5:39 am    Post subject: Reply with quote

Yes Kolusu I am getting this error while writing. I too thought of the same. I am trying to see how a greater lrecl is being written.
Back to top
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 5:45 am    Post subject: Reply with quote

Kolusu,
I looked into the attributes of the vsam index file in faid.
space is as follows

data: 4488 cyls prim and 499 cyls sec.

So what u said must have happened...crossed the 4gb limit.
Can u tell me how to check if my vsam cluster has got non extended attributes or extended attributes?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Apr 14, 2004 5:53 am    Post subject: Reply with quote

mfjin,

How many secondary extents are being used ? Since you have file-aid at your shop, choose option utilities(3) and then vsam(5) and then specify the vsam cluster name in the dataset name area and just press ENTER. You will get information regarding the cluster and now once again press ENTER and some where there on the 2nd screen you should find Allocation type:. If it says unique then your vsam cluster is in non extended. If it says extended then it is an extended vsam cluster.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 6:17 am    Post subject: Reply with quote

Kolusu

The Allocation type is unique. However the used data space is 29% only (38517 tracks) ...used extents is 8 (100%).Allocated extents is also 8 estents. the 4448 cylinders I had mentioned earlier was allocated space. so the possibility of crossing the 4 gb limit is ruled out.
Back to top
View user's profile Send private message
mfjin
Beginner


Joined: 26 Apr 2003
Posts: 94
Topics: 17

PostPosted: Wed Apr 14, 2004 6:31 am    Post subject: Reply with quote

Kolusu

I found this in abend aid for the offending file (file that was being written)

Data set cannot be extended because VSAM is
unable to allocate additional direct-access
storage space. Either there is not enough
space left to make the secondary allocation
request or the processing program attempted
to increase the size of a data set
while processing with SHROPT=4 and DISP=SHR.


So I guess ur advice on getting the non extended changed to extended is what i should follow. Thanks a lot for all the help.
Finally got a chance to cut my teeth in vsam.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group