How to know the number of cylinders allocated for the index in the CAPTURE file ?

Document ID : KB000015647
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

When the CAPTURE file is allocated for the first time when the product is installed there are instructions in the Reports, Maintenance, and Recovery Guide to determine the size of the capture file.  

Sometimes you may need to allocate a new CAPTURE file with more space for the INDEX. In order to do so it is necessary first to know how many cylinders are allocated for index in the current CAPTURE file. If you have the output of the GJTRVFMT utility used to allocate the current CAPTURE then you can determine easily the size for the index because it will appear in the JCL. However if you do not have access to the GJTRVFMT utility then it  is necessary to find a way to discover the space of the current index in the CAPTURE.

 

Question:

How to determine the number of cylinders allocated for the index in the CAPTURE file ?

Answer:

You can see the space allocated for the Index and for the Data doing a browse of the CAPTURE file. 

 

The first record in the capture file is the Pointer record and contains the number of cyls for the Index and for the Data. 

The Layout of the Pointer Record in the index is documented in the page 153 of the Reports, Maintenance, and Recovery Guide 

 

The Field INDXCYL (Position 15-16) contain the Number of index cylinders. 

The Field DATACYL (Position 17-18) contain the Number of data cylinders. 

 

For example. In A Capture file allocated with 200 CYLS and with 50 Cyls for the Index the first record will have: 

....g.....È......o 

000080000070040309 

0002700F00400B0206 

 

The '32' in position 16 is the hex value of 50 that is the number of Cyls for the index. 

The '96' in position 18 is the hex value of 150 that is the number of Cyls for the data. 

 

Once you know the number of cyls used by the Index area in your capture you could use the PARM=xx in the PGM=GJTRVFMT of 

the CAPMOVE to allocate a new capture with more space for the Index. 

As always, please contact CA Technologies support for CA Jobtrac Job Management if you have further questions.