Author: Robert Sample
Posted: Tue May 02, 2017 8:16 pm (GMT 5.5)
No -- if the LISTCAT output has asterisks beside the fields, then they are not accurate and may be changed when the task using the VSAM data set closes it.
I suspect not in the way you think. Records in the index component are pointers to Data CI, and there may multiple levels of index (depending upon the VSAM data set). I've never looked at the records retrieved for the index component that closely, so I'm not sure if it updates once per data record or once per index CI retrieved.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Posted: Tue May 02, 2017 8:16 pm (GMT 5.5)
Quote: |
1. Will LISTCAT produce correct result on a file irrespective of whether that file is used by a Job or CICS at the time of issuing LISTCAT? |
Code: |
STATISTICS (* - VALUE MAY BE INCORRECT) REC-TOTAL------------844* SPLITS-CI-------------22* EXCPS---------------6378* REC-DELETED----------620* SPLITS-CA--------------1* EXTENTS----------------1 REC-INSERTED--------1386* FREESPACE-%CI----------0 SYSTEM-TIMESTAMP: REC-UPDATED---------1679* FREESPACE-%CA----------0 X'D27517B1DBF7CD0A' REC-RETRIEVED------59115* FREESPC----------2686976* |
Quote: |
2. Records Retrieved for Index Component - A file read on DATA internally uses index to retrieve the record. Would this not update the Records Retrieved for Index Component? |
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth