View previous topic :: View next topic
|
Author |
Message |
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 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 |
|
|
|