Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
VSAM CISZ as (0,0)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions
Author Message
pankaj sharma

New User


Joined: 05 Sep 2008
Posts: 4
Location: pune

PostPosted: Fri Oct 10, 2008 11:12 pm    Post subject: VSAM CISZ as (0,0)
Reply with quote

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
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8633
Location: 221 B Baker St

PostPosted: Fri Oct 10, 2008 11:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 891
Location: Atlanta, GA

PostPosted: Fri Oct 10, 2008 11:28 pm    Post subject:
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

PostPosted: Fri Oct 10, 2008 11:30 pm    Post subject:
Reply with quote

What is the second zero for?
Try looking up the answer for yourself.....
CONTROLINTERVALSIZE(size)
Back to top
View user's profile Send private message
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

PostPosted: Sat Oct 11, 2008 1:51 pm    Post subject: Reply to: VSAM CISZ as (0,0)
Reply with quote

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
View user's profile Send private message
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

PostPosted: Sat Oct 11, 2008 2:24 pm    Post subject:
Reply with quote

Yea, I thought it was......
Did you look up the above link and see what the manual indicates?
Back to top
View user's profile Send private message
pankaj sharma

New User


Joined: 05 Sep 2008
Posts: 4
Location: pune

PostPosted: Sun Oct 12, 2008 12:31 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8633
Location: 221 B Baker St

PostPosted: Sun Oct 12, 2008 12:45 am    Post subject:
Reply with quote

Hello,

I believe you stopped reading too soon. . .

Quote:
declare CISZ(0)
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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 Hours
Page 1 of 1