View previous topic :: View next topic
|
Author |
Message |
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
VSAM LOGICAL ERROR 1C :
Data set cannot be extended because VSAM cannot allocate additional direct-access storage space. Either there is not enough space left in the data space for the secondary-allocation request or an attempt was made to increase the size of a data set by splitting the control area (high used RBA change) during processing with SHROPT=4 and DISP=SHR. |
|
Back to top |
|
|
Rambhupalchowdary
New User
Joined: 19 Aug 2010 Posts: 47 Location: Hyderabad
|
|
|
|
Peter,
please let me know if i need to do any changes in VSAM def, to increase the size ?
thanks,
Ram. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
You dont use SHROPT=4, so it would be the secondary allocation. Look for messages in your job log, indicating an allocation problem. |
|
Back to top |
|
|
Rambhupalchowdary
New User
Joined: 19 Aug 2010 Posts: 47 Location: Hyderabad
|
|
|
|
Hi Peter,
I have not used SHROPT=4. i have used :- SHAREOPTIONS(2 3)
Check VSAM Def which i have mentioned above.
Please correct me if i am worng?
thanks,
Ram. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
How can i correct you if you dont understand what i said.
Once again, you dont use SHROPT=4. So look for secondary allocation problems in your job log. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
PeterHolland wrote: |
How can i correct you if you dont understand what i said.
Once again, you dont use SHROPT=4. So look for secondary allocation problems in your job log. |
And incidentally, Ram, check the log of the original job for allocation problems, too (if you still have it); you changed the space allocation from CYL(500 500) to CYL(4000 4000), which IMO is pretty much demanding failure. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Your cisize needs to be larger than the record length + freespace, so it would be 12288. How many input records have to be processed? There are vsam space calculators to be found on the internets, probably on this forum too. |
|
Back to top |
|
|
Rambhupalchowdary
New User
Joined: 19 Aug 2010 Posts: 47 Location: Hyderabad
|
|
|
|
Hi Peter,
I have total 3246978 records in input file.
i want to copy all the records to output file.
Code: |
DATA -
(NAME(USER.vsamfile.DATA) -
KEYS(019 000) -
CYL(500 500) -
CISZ(4096) -
RECORDSIZE(5993 5993)-
FSPC(5 10)) -
INDEX -
(NAME(USER.vsamfile.INDEX) -
CYL(10 10))
|
In the above code i hope i need to change the CYL and FSPC.
Please let me know what i need to change, i tried multiple possibulities but its vain
thanks,
Ram. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
In my previous post i stated a cisz of 12288, that should have been 8192. |
|
Back to top |
|
|
Rambhupalchowdary
New User
Joined: 19 Aug 2010 Posts: 47 Location: Hyderabad
|
|
|
|
Thanks a lot Peter, i got it. Its working fine now.
And thanks to Akatsukami & Bill for all your inputs.
Thanks,
Ram. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Ok,
but what was the solution you used? |
|
Back to top |
|
|
Rambhupalchowdary
New User
Joined: 19 Aug 2010 Posts: 47 Location: Hyderabad
|
|
|
|
I have just increased the CISZ from 4096 to 8192, while defining the VSAM file.
Thanks,
Ram. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Good that it worked. |
|
Back to top |
|
|
|