|
|
| Author |
Message |
pankaj sharma
New User
Joined: 05 Sep 2008 Posts: 4 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 |
|
 |
References
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8633 Location: 221 B Baker St
|
|
|
|
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
Senior Member
Joined: 06 Jun 2008 Posts: 891 Location: Atlanta, GA
|
|
|
|
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: 1199 Location: At my desk
|
|
| Back to top |
|
 |
Moved: Fri Oct 10, 2008 11:31 pm by William Thompson From DFSORT/ICETOOL to SMS & VSAM |
pankaj sharma
New User
Joined: 05 Sep 2008 Posts: 4 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 |
|
 |
Moved: Sat Oct 11, 2008 2:22 pm by William Thompson From SMS & VSAM to Interview Questions |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1199 Location: At my desk
|
|
|
|
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: 4 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
Global Moderator
Joined: 23 Nov 2006 Posts: 8633 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
|
|