asdf13
asked on
OS400: Modify WRKDIRE entries by program after restore on other Partition ?
OS400: Modify WRKDIRE entries by program after restore on other Partition ?
How to change SYSTEM-Name (in QUSRSYS / QAOK* files) by program, after restore on different System and other Systemname ?
How to change SYSTEM-Name (in QUSRSYS / QAOK* files) by program, after restore on different System and other Systemname ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So, only way :
DSPDIRE to outfile (delete old entry on new system which are already restored) and then ADDDIRE from outfile, with modified parms ??
Directory entry change
User.-ID/Adresse . . . . : AFCOPER S44A1234 <- shoult be changed to S44A9999
but not from menu possible
Beschreibung . . . . . Auto Forms Control - Operator
Systemname/Gruppe . . . S44A9999 already OK
Userprofil . . . . AFCOPER
Netzwerkbenutzer-ID . . AFCOPER S44A1234 <- shoult be changed to S44A9999
DSPDIRE to outfile (delete old entry on new system which are already restored) and then ADDDIRE from outfile, with modified parms ??
Directory entry change
User.-ID/Adresse . . . . : AFCOPER S44A1234 <- shoult be changed to S44A9999
but not from menu possible
Beschreibung . . . . . Auto Forms Control - Operator
Systemname/Gruppe . . . S44A9999 already OK
Userprofil . . . . AFCOPER
Netzwerkbenutzer-ID . . AFCOPER S44A1234 <- shoult be changed to S44A9999
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks ! i think, the solution as discussed will work.
But for future "setting ups" with systemcopies on a new hardware (with total save "Option 21" and go restore . . .
and then NETA (systemname) must be changed for test reasons to TESTXYZ . Then i run again in this problems with DIRE !.........
But for future "setting ups" with systemcopies on a new hardware (with total save "Option 21" and go restore . . .
and then NETA (systemname) must be changed for test reasons to TESTXYZ . Then i run again in this problems with DIRE !.........
Well, it isn't the -only- way, but it is, as far as I know, the -easiest- way.
- Gary Patterson
- Gary Patterson
> ...it is, as far as I know, the -easiest- way.
That's true. IMO, it's not even the completely correct way. It merely addresses the specific question, unfortunately.
Tom
That's true. IMO, it's not even the completely correct way. It merely addresses the specific question, unfortunately.
Tom
What "SYSTEM-name" are you trying to change in a directory entry?
If you prompt the CHGDIRE command and enter a User ID and Address, the remaining existing parameter values will be filled in for you. If you then press <F11>, the parameter names will be shown next to the values. Which parameter names are you thinking about?
Generally, restoring these files into QUSRSYS on a different system is _not_ a good idea. It would be far better to restore these into a work library. Then read each record and execute ADDDIRE for each one. Use old values when appropriate and specify new values for parameters you want to change.
Tom