cancel
Showing results for 
Search instead for 
Did you mean: 

How to monitor the last data modify timestamp of the HP NonStop file?

Juraj_Frlicka
05 Base Camper

How to monitor the last data modify timestamp of the HP NonStop file?

We occassionally need to monitor the timestamp of the data modification on HP NonStop files.

 

There is LastUsedTime (LASTUSED) field in FILEDET record, however this field holds either last opened OR last modified timestamp, which is not what we want.

 

Is there any other way this can be achieved in Prognosis?

 

If not, can this be considered as enhancement for future versions?

 

Example:

$BEPS21.PROGNSS.ANATMTKT 8 Apr 2019, 13:54
ENSCRIBE
TYPE U
FORMAT 1
CODE 101
EXT ( 14 PAGES, 28 PAGES )
MAXEXTENTS 978
BUFFERSIZE 4096
OWNER 190,5
SECURITY (RWEP): NNNO
DATA MODIF: 7 Dec 2007, 15:17                <-------------------
CREATION DATE: 19 Dec 2013, 14:37
LAST OPEN: 8 Apr 2019, 12:50
FILE LABEL: 154 (3.7% USED)
EOF: 66 (0.0% USED)
EXTENTS ALLOCATED: 1

1 REPLY 1
Scott_Clement
Expert

Re: How to monitor the last data modify timestamp of the HP NonStop file?

Hi Juraj,

 

One option would be to create a User Defined Record and an extractor script that populates the data you wish to monitor into your own Prognosis record.

I've attached a basic 'FILE INFO' extractor as an example of how to do this. I'm not sure whether the last modified time from the fileinfo output will provide you with what you need, however if you need to create your own command and record, this should give you an example of how to create this yourself. If creating a custom record and extractor is too daunting, then you also have the option of engaging an expert from our consulting services team who would be able to build this functionality to meet your requirements.

 

Regards,

Scott