View previous topic :: View next topic |
Author |
Message |
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 3:30 am Post subject: VSAM Error code- 24. |
|
|
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.
Thanks..
I am looking for an explanation for Error Code 24. |
|
Back to top |
|
|
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 4:28 am Post subject: |
|
|
cheers mate..u r a life saver...!!! |
|
Back to top |
|
|
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 5:21 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Apr 14, 2004 5:25 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Apr 14, 2004 5:37 am Post subject: |
|
|
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 |
|
|
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 5:39 am Post subject: |
|
|
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 |
|
|
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 5:45 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Apr 14, 2004 5:53 am Post subject: |
|
|
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 |
|
|
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 6:17 am Post subject: |
|
|
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 |
|
|
mfjin Beginner
Joined: 26 Apr 2003 Posts: 94 Topics: 17
|
Posted: Wed Apr 14, 2004 6:31 am Post subject: |
|
|
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 |
|
|
|
|