IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAM CISZ as (0,0)


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pankaj sharma

New User


Joined: 05 Sep 2008
Posts: 3
Location: pune

PostPosted: Fri Oct 10, 2008 11:12 pm
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
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Oct 10, 2008 11:19 pm
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

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Oct 10, 2008 11:28 pm
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: 2146
Location: At my coffee table

PostPosted: Fri Oct 10, 2008 11:30 pm
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
pankaj sharma

New User


Joined: 05 Sep 2008
Posts: 3
Location: pune

PostPosted: Sat Oct 11, 2008 1:51 pm
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
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sat Oct 11, 2008 2:24 pm
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: 3
Location: pune

PostPosted: Sun Oct 12, 2008 12:31 am
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Oct 12, 2008 12:45 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top