Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

ACCOUNTING/IMAGE

Chris M. Hornbeck_1
Occasional Contributor

ACCOUNTING/IMAGE

I am trying to get some accounting information on images (image accounting is turned on).

I want to exclude certain images on this process.
However, if I list more than one image to be excluded, only the first image is excluded.

I'm trying this:
ACCOUNTING/IMAGE=(-LOGINOUT, -SET, -DELETE)...

Only the LOGINOUT image is excluded.
What is the correct syntax to get this feature working?

OpenVMS 8.3 on Itanium.
4 REPLIES
EdgarZamora
Trusted Contributor

Re: ACCOUNTING/IMAGE

If you do a "-", the rest of the images are assumed to be negated too. So do a (-LOGINOUT,SET,DELETE)
Hoff
Honored Contributor

Re: ACCOUNTING/IMAGE

Looks like a bug in the tool, and certainly also a gap in the provided documentation. Lob a bug report at HP.

If you're in a hurry or if you lack a support contract, there are options...

Try several distinct ACCOUNTING commands in sequence in a procedure, with an intermediate binary file for each stage of the filtering process, as a workaround.

Or roll your own tool that provides the data you need, as the accounting record format is documented.
Chris M. Hornbeck_1
Occasional Contributor

Re: ACCOUNTING/IMAGE

Eliminating the "-" on the rest of the images does the trick.

Thanks for the help.
Chris M. Hornbeck_1
Occasional Contributor

Re: ACCOUNTING/IMAGE

using the recommended fix:
ACCOUNTING/IMAGE=(-LOGINOUT,SET,DELETE)

instead of this:
ACCOUNTING/IMAGE=(-LOGINOUT,-SET,-DELETE)

gives me the solution to my problem.