HP3000-L Archives

October 2003, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ron Horner <[log in to unmask]>
Reply To:
Ron Horner <[log in to unmask]>
Date:
Fri, 10 Oct 2003 12:43:08 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (80 lines)
Here is a little something from the Horner Consulting archives.  I needed a
way to find groups that were in a different volume than the PUB group.  So I
wrote this.

echo !hpcpuname Account Report (showing groups on differ vols)
echo
repeat
  setvar grpvol "![vegroupinfo('PUB.![racct.account]').homevolumeset]"
  echo ![strwrite('![racct.account]':8)] - ![strwrite('!grpvol':32)]
  repeat
    setvar xvol "![rgroup.homevolumeset]"
    if "!grpvol" <> "!xvol"
     echo  /![strwrite('![rgroup.group]':8)] - ![strwrite('!xvol':32)]
     continue
     report ![rgroup.group].![rgroup.account];onvs=!xvol
    endif
  veaudit forgroups @.![racct.account]
veaudit foraccts @
echo !hpcpuname Account Report (showing groups on differ vols)
echo
repeat
  setvar grpvol "![vegroupinfo('PUB.![racct.account]').homevolumeset]"
  echo ![strwrite('![racct.account]':8)] - ![strwrite('!grpvol':32)]
  repeat
    setvar xvol "![rgroup.homevolumeset]"
    if "!grpvol" <> "!xvol"
     echo  /![strwrite('![rgroup.group]':8)] - ![strwrite('!xvol':32)]
     continue
     report ![rgroup.group].![rgroup.account];onvs=!xvol
    endif
  veaudit forgroups @.![racct.account]
veaudit foraccts @


If you have any other VESUDIT, or VESOFT in general, let me know.

Ron Horner
Horner Consulting

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On Behalf Of
Larry Barnes
Sent: Friday, October 10, 2003 12:20 PM
To: [log in to unmask]
Subject: [HP3000-L] VEaudit question

Has anyone out there used Veaudit scripting?  I looking for examples on how
to use the %Repeat ... Forgroup function using Veaudit.

Any examples, help would be greatly appreciated.  The Manual has a very poor
example with limited instructions.

Larry A. Barnes
Systems Administrator - HP3000

Coldwater Creek
751 W. Hanley Ave.
Coeur d'Alene, ID  83815-3213

208 665-2861 Voice:
208 265-3203 Fax:

"Even if you're on the right track, you'll get run over if you just sit
there." - Will Rogers

Shop today at Coldwater Creek http://www.coldwatercreek.com

The information contained in this e-mail message may be privileged,
confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution or
copying is strictly prohibited.
If you think you received this e-mail message in error, please reply to this
email.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2