ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Restore WRKDIRE's user

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Restore WRKDIRE's user

    Hi
    i need to "transfer" the WRKDIRE content from an iSeris to another; is there some command that do this for me or i have to rewrite by and user for user ?

    Thanks in advance
    gio

  • #2
    Re: Restore WRKDIRE's user

    can you save and restore QUSRSYS/QAOK* tables?
    I would think this would be included in the savsecdta -- but not sure.


    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Restore WRKDIRE's user

      i need to "transfer" the WRKDIRE content from an iSeris to another
      Please describe the environment. Duplicating the system directory from one system to another doesn't make much sense unless perhaps one system will replace the other. The two systems shouldn't normally be running at the same time in the same network. So what is the business problem that you need to solve?

      You can certainly save/restore files from QUSRSYS to a different system, but it can also make a mess of the new system as far as its system directory goes since the entries usually don't match the second system's configuration. One common result is that the "Library QUSRSYS" option under 'Display Installed Licensed Programs' will show with an Installed Status of '*ERROR', and it's often not fun clearing it back up.

      Are you simply wanting to add the same users to a second system?
      Tom

      There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.

      Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?

      Comment


      • #4
        Re: Restore WRKDIRE's user

        Hi Tom

        my purpose is replace a system (that run V5r3) with another that run v7r1

        Thanks Gio

        Comment


        • #5
          Re: Restore WRKDIRE's user

          Originally posted by gio.cot View Post
          my purpose is replace a system (that run V5r3) with another that run v7r1
          Will the replacement system have the same system name? For a directory entry, the system name would be the "Address". If not, things would be more complicated.

          I might save the QUSRSYS/QAOK* tables and restore them to a temporary library. Then you might use CPYF with MBROPT(*ADD) to copy records into the existing files. But I'd probably make sure that I removed all records in the temporary files that matched those in at least QAOKP01A and QAOKPSRA. I wouldn't want to interfere with any entries that existed for QSECOFR, QDFTOWN and any other UserIDs that are used for system operations.

          I've never needed to move this type of information to a completely new system before. I've always ensured that I could replicate exactly, e.g., V5R3 migrated to V5R3 and then upgraded the new system. I can't predict your results.
          Tom

          There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.

          Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?

          Comment

          Working...
          X