Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> Mainframe Interview Questions
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    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

dick scherrer

Site Director


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

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

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: 2150
Location: At my coffee table

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
pankaj sharma

New User


Joined: 05 Sep 2008
Posts: 3
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
CICS Guy

Senior Member


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

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: 3
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

Site Director


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

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us