How do you know if you have a short block in the AUDIT file?

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

Description:

With PTFs RO43218 and RO45084 applied CA1 will detect if there is a short block in the Audit Data Set.

If there is a short block in the AUDIT file you will receive a IEFTMS70 DYY-120 OPCODE=00 during the start of CA1.

Solution:

If you take the Audit File blocksize and divide it by the record size you will have the number of records per block. If you look up the total number of audit records from the last TMSCOPY run and divide the total number of records by the records per block, you should end up with the total number of blocks. This should be a whole number. If you do not get a whole number, the Audit file contains a short block.

For example:

8880 block-size / 370 record-size = 24 records per block
60000 total records / 24 records per block = 2500 blocks (whole number)

60020 total records / 24 records per block = 2500.83333 blocks (Short block)

If you have short block, you will need to allocate and reformat a new AUDIT file and start TMSINIT with this new AUDIT file.