HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Is there anyway to extract sysuaf.lis to excel?
Operating System - OpenVMS
1830893
Members
3470
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-01-2004 09:04 AM
06-01-2004 09:04 AM
Is there anyway to extract sysuaf.lis to excel?
Is there an easy was to dump the sysuaf and export to excel?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 09:08 AM
06-01-2004 09:08 AM
Re: Is there anyway to extract sysuaf.lis to excel?
Dhuh, sorry had a brainfreeze. No need to answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 06:47 PM
06-01-2004 06:47 PM
Re: Is there anyway to extract sysuaf.lis to excel?
Yes ! it's easy......
Export SYSUAF.LIS to the PC.
OPEN the file using EXCEL and EXCEL will start the "Text Import Wizard". Then you will get a question about what delimiter to
use.
BUT !! you need to check the OWNER field in
SYSUAF.LIS. Some owners have more than one
string and delimited by " ".
I'm using EXCEL from Office XP
Export SYSUAF.LIS to the PC.
OPEN the file using EXCEL and EXCEL will start the "Text Import Wizard". Then you will get a question about what delimiter to
use.
BUT !! you need to check the OWNER field in
SYSUAF.LIS. Some owners have more than one
string and delimited by " ".
I'm using EXCEL from Office XP
Don't make it worse by guessing.........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2004 09:47 PM
06-01-2004 09:47 PM
Re: Is there anyway to extract sysuaf.lis to excel?
I have had a huge bell ringing in my head for the last hour.........
I made a comment regarding the ownerfield,
so I had to check SYSUAF.LIS more closely.
I made a small DCL-script to make the file
easier to import in Excel.
$ open/read infile sysuaf.lis
$ open/write outfile sysuaf_excel.lis
$ read/end=eof infile str
$ read/end=eof infile str
$10:
$ read/end=eof infile str
$ strln=f$length(str)
$ owner=f$edit(f$extract(0,20,str),"trim")
$ if owner .eqs. "" then owner=" "
$ user=f$edit(f$extract(21,14,str),"trim")
$ uic=f$edit(f$extract(35,14,str),"trim")
$ account=f$edit(f$extract(50,8,str),"trim")
$ if account .eqs. "" then account=" "
$ priv=f$edit(f$extract(59,6,str),"trim")
$ prio=f$edit(f$extract(66,2,str),"trim")
$ defdir=f$extract(69,strln-69,str)
$ write outfile owner+"#"+user+"#"+uic+"#"+account+"#"+priv+"#"+prio+"#"+defdir
$ goto 10
$eof:
$ close infile
$ close outfile
In Excel use "#" as delimiter. Tried it myself and it worked.
I made a comment regarding the ownerfield,
so I had to check SYSUAF.LIS more closely.
I made a small DCL-script to make the file
easier to import in Excel.
$ open/read infile sysuaf.lis
$ open/write outfile sysuaf_excel.lis
$ read/end=eof infile str
$ read/end=eof infile str
$10:
$ read/end=eof infile str
$ strln=f$length(str)
$ owner=f$edit(f$extract(0,20,str),"trim")
$ if owner .eqs. "" then owner=" "
$ user=f$edit(f$extract(21,14,str),"trim")
$ uic=f$edit(f$extract(35,14,str),"trim")
$ account=f$edit(f$extract(50,8,str),"trim")
$ if account .eqs. "" then account=" "
$ priv=f$edit(f$extract(59,6,str),"trim")
$ prio=f$edit(f$extract(66,2,str),"trim")
$ defdir=f$extract(69,strln-69,str)
$ write outfile owner+"#"+user+"#"+uic+"#"+account+"#"+priv+"#"+prio+"#"+defdir
$ goto 10
$eof:
$ close infile
$ close outfile
In Excel use "#" as delimiter. Tried it myself and it worked.
Don't make it worse by guessing.........
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP