- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: UAF migration for some users
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
09-17-2012 08:09 PM
09-17-2012 08:09 PM
UAF migration for some users
Hi ,
I need to create one command procedure which will scan the sysuaf and genarate a file with command procedure to create the same user in another system. This command procedure will include the granted identifier as well.
This is required as my requirement is to migrate some of users to another system,not all.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2012 08:31 PM
09-17-2012 08:31 PM
Re: UAF migration for some users
Why make it more difficult than you need to? Make a BACKUP saveset of SYSUAF.DAT and RIGHTSLIST.DAT from your source system and move that to the second system. Then either mark the unneeded accounts as DISUSER or remove them.
bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2012 08:41 PM
09-17-2012 08:41 PM
Re: UAF migration for some users
Hi Bob,
We have almost 700 accounts in the server, out of which I need to migrate 65 accounts.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2012 10:02 PM
09-17-2012 10:02 PM
Re: UAF migration for some users
If you don't want to delete the records you don't need, create an empty UAF and copy the ones you want. SYSUAF is just an RMS file.
$ OPEN/READ UAF SYSUAF
$ OPEN/READ/WRITE NEWUAF YOURUAF
repeat for each key you want (build a procedure to do it)
$ READ/KEY="SOMEUSER" UAF UAFRECORD
$ WRITE NEWUAF UAFRECORD
$ CLOSE UAF
$ CLOSE NEWUAF
now take the new UAF file to the target system and use MERGE to merge it with the UAF over there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2012 10:23 PM
09-17-2012 10:23 PM
Re: UAF migration for some users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-18-2012 07:00 AM
09-18-2012 07:00 AM
Re: UAF migration for some users
You might want to have a look at QUAI
at http://www.quadratrix.be/quai.html
If properly installed
QUAI/EXTRACT user1
will extract the information about "user1" from the SYSUAF into a file ( user1.quai )
Copying the file "user1.quai" to the target system and using QUAI thus:
QUAI/INSERT user1
will insert the necessary info in the SYSUAF of the target system
Hope this helps.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-18-2012 10:22 AM
09-18-2012 10:22 AM
Re: UAF migration for some users
>> how shall I merge newuaf with existing one in another system
$ CONVERT /MERGE /STAT /EXCEP=bad.dat new.dat SYSUAF
Note 1) you also want to do this for RIGHTSLIST
Note 2) I like the DCL OPEN/READ loop, but you can probably also just use SEARCH/STAT/OUT user1,user2,
You may want to use [user1], [user2] or "user1 ", "user2 " to avoid false matches
Hein.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP