T.R | Title | User | Personal Name | Date | Lines |
---|
369.1 | Here are three other ways to do it | 57826::VICKERS | If it helps a customer, DO IT | Tue Mar 31 1992 08:08 | 35 |
| Mary Beth,
You might be better off using a DO mode script rather than a SCRIPT
mode script. A SCRIPT mode script emulates your keystrokes but is
rather painful and error prone. I suspect you already know that,
however. ;')
The easiest way to make this rather sad change could be as simple as:
FOR PROFIL WITH .DEPART EQS "SAD" THEN DO -
GET #USER = .USER\\-
WRITE CHANGE PROFIL USER=#USER,QUOTA="500"
This assumes that the affected users all have SAD as their department
name.
If you can't get at a way to group the users in that way then you could
just have a series of statements like:
WRITE CHANGE PROFIL USER="SEKURSKI.MARYBETH",QUOTA="500"
This approach assumes that you have a list of user names in text
somewhere.
Yet another approach would be to create a UPD to do the dastardly deed:
.FUNCTION WRITE CHANGE PROFIL USER=$SM_ACCOUNT,QUOTA="500"
Creating this as one of the F names (like F20) would allow you to
select the user name ($SM_ACCOUNT) and then invoking the UDP by hitting
the proper F key.
Have fun,
don
|
369.2 | A different approach ... | AIMTEC::VOLLER_I | Gordon (T) Gopher for President | Tue Mar 31 1992 08:16 | 33 |
| Mary Beth.
You could us something like the following :-
Login to ALL-IN-1 MANAGER account
At CHOICE field type
<FOR PROFIL DO WRITE CHANGE PROFIL .%KEY=.USER, QUOTA=500
Note. If you need to be more selective then you'll need to modify the
command. For example :-
<FOR PROFIL WITH .USER = "A" ...
Just gets the users who's names begin with A
<FOR PROFIL WITH .USER == "FRED" ...
Just user FRED
<FOR PROFIL WITH .DEPART == "FINANCE"
Just the FINANCE people
etc, etc ...
Hope this helps.
Cheers,
Iain.
|
369.3 | Notes clash ... | AIMTEC::VOLLER_I | Gordon (T) Gopher for President | Tue Mar 31 1992 08:18 | 3 |
| Don's answer is better than mine ...
Iain.
|
369.4 | Customize SM MUA I | IOSG::TALLETT | Just one more fix, then we can ship... | Tue Mar 31 1992 11:52 | 13 |
|
Well I'd take yet another approach! I'd take a copy of the index
form in System Management, MUA I, and add a new option, XSQ
multiple set doc quota. Copy the named data from one of the
other multiple select options and put in the WRITE CHANGE PROFIL
from the previous replies. You can test it by just selecting
one account, and then doing XSQ. When it all works, you can go
through the PROFILE and select the victim users, and do an XSQ
to set all their quotas. You also then have an option to set them
back when they complain to you manager... :-)
Regards,
Paul
|
369.5 | MGT MUA I x GE? | IRONIC::KARPEL | and ALL-4-1! | Tue Mar 31 1992 19:06 | 11 |
| I believe you could also do this:
MGT MUA I
Select some accounts
GE (global edit)
There is a field on this form to change document quota. I can't check
this out, because I don't have access to a 2.4 Manager account anymore,
but I know it was there in 2.3.
Terri K.
|
369.6 | GE is Best Bet - 2.3 and 3.0 ONLY | MINDER::FLACKI | %ALL-IN-1-I-NEWFEA, "ALL-IN-1 New Feature" | Tue Mar 31 1992 19:47 | 9 |
|
Global Edit seems the best bet. It was there in 2.3 was gone
in 2.4 and is back in 3.0.
Now you see it - now you don't !
Ian.
Upgrade.... :-)
|
369.7 | Thanks for all the help | VIRGO::SEKURSKI | Mary Beth Sekurski 245-5350 | Tue Mar 31 1992 20:46 | 10 |
|
Thank you all for the hints and suggestions on the
way to change my quotas. Users aren't too thrilled
about it but if they want their accounts transferred
they will have to live with it for a short time.
Again thank you.
Mary Beth
|
369.8 | Moved by mod | AIMTEC::WICKS_A | Vote Bill'n'Opus for a weirder USA | Tue Mar 31 1992 22:29 | 9 |
| MAry Beth,
This reply was posted as a new note instead of reply to this topic.
Hope you don't mind me moving it here where it makes more sense.
Regards,
Andrew.D.Wicks
|