- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: UAF code
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 11:37 AM
08-08-2005 11:37 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 11:50 AM
08-08-2005 11:50 AM
SolutionYou can get your answer with one command once you get SCANUAF.
Here's a link
http://vms.process.com/scripts/fileserv/fileserv.com?SCANUAF
Also see this previous discussion:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=707687
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 01:43 PM
08-08-2005 01:43 PM
Re: UAF code
It would be possible to do this in DCL - just OPEN/READ/SHARE SYSUAF and read through it.
The catch is you need to figure out where the username and last login fields are, and that may change in the future. See $UAFDEF for current values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 02:44 PM
08-08-2005 02:44 PM
Re: UAF code
thanks for that. scanuaf works perfectly for what I need to do.
John,
Thanks for your suggestions also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 02:47 PM
08-08-2005 02:47 PM
Re: UAF code
Just to show it can be done...
The attached command procedure does what you ask, BUT, note there are some undocumented and unsupported DCL constructs (F$FAO hacks).
The record layout is derived at run time from $UAFDEF. For systems below V7.3-2, there may be UAF records longer than 1000 characters, these cannot be handled in DCL, so they're skipped. You will see a DCL-W-BUFOVF error for each one, and there will be a report at the end counting the number of lines which were skipped.
The procedure depends on the PIPE command, so it won't run on versions below V7.
Usual disclaimers... use at your own risk. This kind of thing should be done from a real programming language.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 03:56 PM
08-08-2005 03:56 PM
Re: UAF code
This quickly leads to:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=890732
Where this very question was asked and answerred.
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 04:23 PM
08-08-2005 04:23 PM
Re: UAF code
I think I have enough options now so I will close this thread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 04:23 PM
08-08-2005 04:23 PM