- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- UAF migration for some users
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
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
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
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
- 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
- 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
- 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
- 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
- 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
- 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.