VSAM CI SIZE
-
- Posts: 2
- Joined: Thu Mar 14, 2013 8:14 pm
- Skillset: CICS, COBOL, JCL, EASYTRIEVE, MQ, DB2
- Referer: Searched in the web
VSAM CI SIZE
How does the CI SIZE affect the ESDS VSAM file in terms of processing speed? Does larger CI SIZE much faster?
-
- Posts: 125
- Joined: Thu Oct 11, 2012 10:24 pm
- Skillset: COBOL, OS JCL and Utilities, IMS DB/DC, CICS, VSAM, DB2, Librarian, Panvelet, Endevor, Clists/Panels, SDSF, JES, and Easytrieve Plus.
- Referer: Google search
Re: VSAM CI SIZE
I always start define as CISZ (4096) and then depending on, for example, Splits - I contact our Systems Programmer for VSAM file tuning.
Some more info...
http://pic.dhe.ibm.com/infocenter/pdthe ... pvsm51.htm
Some more info...
http://pic.dhe.ibm.com/infocenter/pdthe ... pvsm51.htm
An average CISZ of 4K is suitable for most applications. A smaller CISZ means faster retrieval for random processing at the expense of inserts (that is, more CISZ splits and therefore more space in the data set). A larger CISZ results in the transfer of more data across the channel for each READ. This is more efficient for sequential processing, similar to a large OS BLKSIZE.
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: VSAM CI SIZE
For an ESDS, I'd probably go with 18432 which is most space-efficient. However, if the application is running under CICS 4096 might work better as there is less data written at a time. If the application is running only batch ESDS with no alternate indexes, then 32768 might be your best CI SIZE. There is no one "true" answer to a question like yours -- it depends upon the site, whether the ESDS file has alternate indexes, whether the ESDS file is used online only or batch only or both, and other factors.
-
- Posts: 2
- Joined: Thu Mar 14, 2013 8:14 pm
- Skillset: CICS, COBOL, JCL, EASYTRIEVE, MQ, DB2
- Referer: Searched in the web
Re: VSAM CI SIZE
Hi,
Thank you both for the helpful responses.
The ESDS file has no alternate index and will be used only as an online log, we would only do write to this file. So does it mean that 32768 might be good for this type of file?
Thank you both for the helpful responses.

The ESDS file has no alternate index and will be used only as an online log, we would only do write to this file. So does it mean that 32768 might be good for this type of file?
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: VSAM CI SIZE
If the application is running only batch ESDS with no alternate indexes, then 32768 might be your best CI SIZE.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: VSAM CI SIZE
For an online log, 4096 is probably your best choice. You want logs to be written fairly quickly, and hence a smaller CI SIZE makes sense.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 4
- 3267
-
by socker_dad
View the latest post
Fri Dec 31, 2021 5:28 am
-
- 1
- 5324
-
by Robert Sample
View the latest post
Tue Oct 04, 2022 7:36 pm
-
- 2
- 1415
-
by Robert Sample
View the latest post
Fri Oct 22, 2021 9:41 pm
-
- 3
- 7892
-
by socker_dad
View the latest post
Thu Jan 28, 2021 4:13 am
-
-
Can anyone tell me how to retrieve the vsam system timestamp
by jdechirico » Tue Jun 18, 2024 9:22 pm » in VSAM/SMS - 1
- 1542
-
by enrico-sorichetti
View the latest post
Tue Jun 18, 2024 10:06 pm
-