View previous topic :: View next topic
|
Author |
Message |
pankaj sharma
New User
Joined: 05 Sep 2008 Posts: 3 Location: pune
|
|
|
|
What happens if i declare CISZ(0,0) in define cluster command for creating a KSDS cluster, whether the cluster get created or the job will show some error. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What happened when you tried this on your system?
If you haven't tried this on some test file, why not? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
First, CISZ doesn't take two values -- it takes single values only. Were you thinking perhaps of RECSZ instead?
Second, did you check the manual? It specifically says
Quote: |
The size of the control interval depends on the maximum size of the data records and the amount of buffer space you provide. If the size you specify is not an integer multiple of 512 or 2048, VSAM selects the next higher multiple for your cluster's control interval size. |
but it goes on to indicate that a data component CISZ has to be large enough for the maximum RECSZ plus 7 bytes and the CISZ will be increased if necessary. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
pankaj sharma
New User
Joined: 05 Sep 2008 Posts: 3 Location: pune
|
|
|
|
sorry my mistake its CISZ(0), i havn't tried it on mainframe terminal, actually this question was asked to me in principal financial interview. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Yea, I thought it was......
Did you look up the above link and see what the manual indicates? |
|
Back to top |
|
|
pankaj sharma
New User
Joined: 05 Sep 2008 Posts: 3 Location: pune
|
|
|
|
If CONTROLINTERVALSIZE is not coded, VSAM determines the size of control intervals. so if v declare CISZ(0) it will automatically determine the size, is it correct? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I believe you stopped reading too soon. . .
is not the same as not coded. It is coded, but has been specified as zero.
From further on the documentation page:
Quote: |
If the control interval specified is less than maximum record length plus a 7-byte overhead, then VSAM will increase the data control interval size to contain the maximum record length plus the needed overhead. |
|
|
Back to top |
|
|
|