T.R | Title | User | Personal Name | Date | Lines |
---|
4317.1 | | IOSG::MAURICE | End of the road for the Emerald City | Wed Jul 06 1994 10:53 | 23 |
| Hi,
We have fixed quite a few MDK problems in V3.1, but not specifically
the one you mention. However one of the changes is in this area. In
SM_MOVEDISK.SCP look for the label check_backup.
There is a line in the V3.0 script which was:
.if oa$dir_search.ALLBUTVER[#file_spec] eqs #file_spec then -
This in V3.1 is now:
.if file$.status[#file_spec] eq 1 then -
There is a chance that this might fix your problem. If not then try
turning tracing on after the label move_to_destination, by adding a
line like:
set_trace (INPUT,MESS,SCRIPT,SYMBOL,A1LOG,LOG,MAIL)
Cheers
Stuart
|
4317.2 | | FRSCS::TSCHOEN | | Wed Jul 06 1994 14:37 | 46 |
| Hi Stuart,
thank's for your very quick answer !
I changed the line in the sm_movedisk.scp and try it again.
The result :
MDK moves all files and directories except one :
the whole a1.dir and all files under this directory.
The behaviour is now the same like to move the account to another different
disk and not to another directory on the same disk.
Then i edit the script again and set the trace with the option
(all,log).
Also i get A1SUB.LOG;33 :
Owner Username UIC Account Privs Pri
Directory
DU GELSENWASSER GELSENWASSER [36,12552] Normal 4
Disuser
"SYS$COMMAND" = "A1SUB.LOG" (LNM$PROCESS_TABLE)
"SYS$INPUT" = "_FRSALL$DUA1:" (LNM$PROCESS_TABLE)
%DCL-I-SUPERSEDE, previous value of SYS$COMMAND has been superseded
"SYS$COMMAND" = "_FRSALL$MBA2333:" (LNM$PROCESS_TABLE)
Owner Username UIC Account Privs Pri
Directory
DU GELSENWASSER GELSENWASSER [36,12552] Normal 4
Disuser
"SYS$COMMAND" = "_FRSALL$MBA2333:" (LNM$PROCESS_TABLE)
"SYS$INPUT" = "_FRSALL$DUA1:" (LNM$PROCESS_TABLE)
"SYS$COMMAND" = "_FRSALL$MBA2333:" (LNM$PROCESS_TABLE)
%BACKUP-S-CREDIR, created directory TEST:[GELSENWASSER.TESCHT]
%BACKUP-S-CREATED, created TEST:[GELSENWASSER.TESCHT]T.TXT;1
%BACKUP-S-CREATED, created TEST:[GELSENWASSER.TESCHT]TTT.TXT;1
[EOB]
any ideas ?
regards and thank's for your help !
Thomas
|
4317.3 | | IOSG::MAURICE | End of the road for the Emerald City | Wed Jul 06 1994 15:49 | 18 |
| Hi,
The trace should have resulted in a file called a1trace.log in the same
directory as the a1sub.log file. Can you copy it to somewhere
accessible.
Another factor seems to be the profile directory field (profil.direct).
Can you let us know what that is.
Also does the VMS account just have one ALL-IN-1 account?
for profil:vmsusr with .vmsusr eqs "...." do\get oa$sel_count
will report how many there are.
Cheers
Stuart
|
4317.4 | | FRSCS::TSCHOEN | | Thu Jul 07 1994 08:50 | 37 |
| Hi Stuart,
1.)The user has only one ALL-IN-1 account.
2.)Profile entry for this user:
Account Details
ALL-IN-1 account details:
Account name: GELSENWASSER
Directory: USER$SWS:[GELSENWASSER.A1]
Form libr:
VMS account details:
Account name: GELSENWASSER
When deleting the VMS account, delete from directory:
USER$SWS:[GELSENWASSER]
User details:
Surname: GELSENWASSER
Given name: DU
Initials:
Full name: DU GELSENWASSER
Press RETURN to complete or press NEXT SCREEN for more details
3.)If you want to have a look in the trace log i'll copy this file to the
DECnet default account of the node FRSCS (49.100 = 50276).
Name : GELSENWASSERA1TRACE.LOG.
cheers
Thomas
|
4317.5 | | IOSG::MAURICE | End of the road for the Emerald City | Thu Jul 07 1994 10:48 | 35 |
| Hi,
Thanks for the information. The situation is that the UAF points to
USER$SWS:[GELSENWASSER.TESCHT]
The ALL-IN-1 Directory is USER$SWS:[GELSENWASSER.A1]
The MDK code has been fooled by the fact that the device is the same
and that the directory starts with [GELSENWASSER in both cases. It
looks like the script should be using the delete_from field in the
profile (USER$SWS:[GELSENWASSER] in this case).
If you wish to try an experiment find the line in sm_movedisk.scp which
is:
get #uaf_dir = UAI$.DEFDIR[#vms_user]
After this line add:
get #delete_from = profil.delete_from[#user]
.if #delete_from nes ""
.then
get #uaf_device = file$.device[#delete_from]
get #uaf_dir = file$.directory[#delete_from]
.end_if
This will then make the script use the value found in the delete_from
field rather than the UAF. Please note that I haven't tested this. If
you do try it then I'd be very interested to know whether it solves
your problem. In any case it will need to be made into an IPMT case.
Cheers
Stuart
|
4317.6 | thank's a lot !!! | FRSCS::TSCHOEN | | Thu Jul 07 1994 12:47 | 12 |
| Hi Stuart,
i tested your solution and ========> IT WORKS FINE !!!!!!!!!!!!!!!!!!!
With your solution i was able to move the user to another directory with
all files and subdirectories !
thank you very much for your help !!!!!
bye
Thomas
|