T.R | Title | User | Personal Name | Date | Lines |
---|
2646.1 | | IOSG::MAURICE | Night rolls in, my dark companion | Fri Apr 30 1993 22:11 | 7 |
| Hi,
Have a look at OA$LIB:FC_MOVE_DRAWER_TO_ACCOUNT.SCP
Cheers
Stuart
|
2646.2 | What's the catch? | WAYOUT::CLARKE | | Wed May 05 1993 17:03 | 26 |
| I have tried the script on a couple of shared drawers and it seems to work well.
A couple of notes from my experiments for anyone intending using it;
1. Assign symbols before doing script as it doesn't prompt for these.
<get #fc_unique_name = drawer name e.g "[clarke]public drawer"
<get #fc_a1_name = ALL-IN-1 username of receiving account e.g "SMIFF"
<do FC_MOVE_DRAWER_TO_ACCOUNT
2. The new drawer is added to the target users file cabinet (filecab.dat) with
the full drawer name used above minus the [username]. Check before moving that
a drawer with this name is not already referenced else it will have to be added
manualy using FC DRM ADR.
3. The original owning account and any other sharers (local or remote) will have
to update their pointer to this drawer by removing/re-adding it (FC DRM RDR &
ADR)
4. The share type and sharers list of the drawer remains, however the old owner
does not necessarily have access the moved drawer automaticaly.
So now for my question, What is the catch with using it ? I assume that it has no
respect for users connected to the drawer which is being moved.
hidden script = undocumented = unsupported
Thanks Aston
|
2646.3 | No catch | IOSG::MAURICE | Night rolls in, my dark companion | Wed May 05 1993 18:17 | 19 |
| Hi,
This script is used by the System Management delete user scripts
(specifically script SM_DELETE_DRAWER_HANDLING.SCP).
> So now for my question, What is the catch with using it ? I assume that it
> has no respect for users connected to the drawer which is being moved.
I don't think there is a catch. It checks for anyone being in the
drawer at the same time. It fails with #fc_status set to 3 in this case
(see comments at end of script).
There are quite a few scripts delivered with ALL-IN-1 that customers
use for their applications. The only documentation for these is in the
scripts themselves.
Cheers
Stuart
|
2646.4 | moving drawers contd. | WAYOUT::CLARKE | | Tue May 18 1993 15:54 | 13 |
| Thanks for the info on this script Stuart, it is very well commented which
helps.
I have created a Stars article detailing how a drawer can be moved.
I am surprised that a menu option was not put on the Managers MD menu to allow
copying a drawer between users. After all you've already done 98% of the work
required for this! I believe that copying a drawer between users will be a
common customer requirement, hopefuly my Stars effort will help.
Regards
Aston
|