T.R | Title | User | Personal Name | Date | Lines |
---|
3814.1 | The way we walk part 2 | IOSG::MAURICE | I left my heart in Alcatraz | Wed Jan 26 1994 15:58 | 43 |
| Hi,
The 'Mail' field is a Y/N field that says whether there is a .MSG
sub-directory in the drawer directory. If the drawer is going to be
used a mail drawer then it needs to have one of these directories.
Note that putting "Y" in this field does not cause the .MSG
sub-directory to be created. (Really this field should not be on the
form - it should be calculated).
Note also that the act of adding a drawer to a partition is an abnormal
operation. It gets used when the partition record is incorrect, and the
Manager removes it (from the manage drawers menu) and re-adds it from
the manage partition menu. Do not use this option for creating a
drawer.
Q. When is a drawer the mail/default drawer?
A. A user has a list of drawers in a file called FILECAB.DAT. When the
user does an index of drawers (EM ID) it is this file that is
indexed. One of the fields of each record in this file is called
INDICATOR. There should be precisely one record in the file that has
an INDICATOR value of "1". The record with the value of "1" is the
mail/default drawer. Normally this is the record with key value
"MAIN", and so is known as the main drawer.
Q. How can I make a different drawer my mail/default drawer.
A. There is is no UI, but it's not too difficult at the API level.
First read all outstanding unread mail and hope no new mail comes in
while you're changing things. Suppose your mail/default drawer is
currently called "MAIN" and you wish your existing drawer called
"NEW" to be the mail/default drawer. This you can do in two calls:
<write change filecab name="MAIN", indicator = "0"
<write change filecab name="NEW", indicator = "1"
Exit and re-enter ALL-IN-1 and check that new mail now goes into the
INBOX of your NEW drawer.
HTH
Stuart
|
3814.2 | Delete MAIN drawer? | KERNEL::LOAT | Stop throwing those bloody spears! | Thu Jan 27 1994 11:38 | 28 |
|
Well, these are the instructions which I 've found will work for
setting a different drawer for your mail.
1) Create a drawer, and remove it from partition, and re-add it, making
sure that the Mail field is set to Y.
2) Use the following command to change the indicator field as
appropriate.
WRITE CHANGE FILECAB NAME="name", INDICATOR="0 or 1"
3) Log out and back in, and thats all.
This works, but the next question which the customer asked me got me a
bit puzzled.
Now they've made MAIN a non-default drawer, can they delete it
completely? They don't want to see the MAIN drawer in their file
cabinet any more, and they want to delete it.
Will this cause a problem with transferring users, or housekeeping
procedures? Do any of these assume that you've got a MAIN drawer?
Thanx
Steve.
|
3814.3 | Yes but ... | IOSG::MAURICE | I left my heart in Alcatraz | Thu Jan 27 1994 12:09 | 18 |
| Re .2
> 1) Create a drawer, and remove it from partition, and re-add it, making
> sure that the Mail field is set to Y.
I don't recommend this as it's not necessary. All you need to do is
create a drawer.
Your other instructions are basically OK, BUT do not allow for users
having unread mail at the time of the shift.
Yes you can then delete the drawer called "MAIN". The utilities search
for the default drawer - they do not search for a drawer with a name of
"MAIN".
Cheers
Stuart
|
3814.5 | Default is that [.MSG] gets created | IOSG::MAURICE | I left my heart in Alcatraz | Thu Jan 27 1994 13:39 | 14 |
| Re .4
> I thought that a drawer had to be a mail drawer to have a [.MSG]
> directory? If so, and a drawer doesn't have the mail flag set to Y, how
> can this drawer be a mail drawer (have a [.MSG] directory?
Yes a drawer has to have a [.MSG] directory to be a mail drawer. If you
create a drawer from the UI you will find that one gets created anyway,
and that the mail flag will be set to "Y". Hence there is no need to
change the partition record.
Cheers
Stuart
|
3814.6 | | KERNEL::LOAT | Stop throwing those bloody spears! | Thu Jan 27 1994 13:41 | 14 |
|
�I don't recommend this as it's not necessary. All you need to do is
�create a drawer.
I thought that a drawer had to be a mail drawer to have a [.MSG]
directory? If so, and a drawer doesn't have the mail flag set to Y, how
can this drawer be a mail drawer (have a [.MSG] directory)?
The only thing I can see would be if a drawer was automatically created
with the Mail flag set to Y. Is this what happens?
Steve.
|
3814.7 | | IOSG::MAURICE | I left my heart in Alcatraz | Thu Jan 27 1994 15:43 | 10 |
| Re .6
> The only thing I can see would be if a drawer was automatically created
> with the Mail flag set to Y. Is this what happens?
Yes.
Cheers
Stuart
|