Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

entering dates & times

 
Swanco
Occasional Contributor

entering dates & times

Please help:
what is wrong with this:
MONITOR/INPUT=(SYS$MONITOR:*MON.DAT;*,MON$ARCHIVE:*MON.DAT;*) /NODISPLAY/SUMMARY=MONSUM.SUM SYSTEM /BEGIN="YESTERDAY+0:0:0.00"/END="TODAY+0:0:0.00" /BY_NODE
Error:
MONITOR-E-BEGNLEND, beginning time not earlier than ending time
5 REPLIES 5
Hoff
Honored Contributor

Re: entering dates & times

Try

/BEGIN=YESTERDAY /END=TODAY

The rest of that stuff on those date specifications appears t be confusion on the details of VMS time syntax.

Make sure whatever VMS version you're running is patched, as there have been occasional bugs in this area over the years.

Swanco
Occasional Contributor

Re: entering dates & times

I tried, its' still giving the same error.

Running I64VMS VMS V8.3-1H1
Hein van den Heuvel
Honored Contributor

Re: entering dates & times


This message means that the beginning time IN THE FILE is not before the end in the command.

Hein.


Hein van den Heuvel
Honored Contributor

Re: entering dates & times


btw...

You can verify the behaviour/error message by dropping the /BEGIN and just specifying /END

Also...

The 0:0:0.0 is implied in the symbolic name:

$ show time
19-OCT-2010 10:35:59
$ write sys$output f$cvtime("YESTERDAY")
2010-10-18 00:00:00.00
$ write sys$output f$cvtime("TODAY")
2010-10-19 00:00:00.00


Hein

Andy Bustamante
Honored Contributor

Re: entering dates & times

I'm sure everyone here will encourage collecting system performance data. But there's no need to reinvent the wheel. See http://h71000.www7.hp.com/openvms/products/t4/ for an very nice monitoring toolkit.
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net