1753774 Members
6902 Online
108799 Solutions
New Discussion юеВ

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 4
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.