[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2623.0. "Queries regarding PENDING.DAT" by TAV02::CHAIM (Semper ubi Sub ubi .....) Wed Apr 28 1993 09:45

ALL-IN-1 V2.4 

We have a customer who due to the restriction that checkmail doesn't work for
captive/restricted accounts is writing his own.

He has asked me to try and receive answers to the following questions regarding
PENDING.DAT.

1. When a user has many waiting mail messages, then that user will have multiple
records in the PENDING.DAT file. It appears that the TOTAL number of waiting
mail messages is written in the first record and each subsequent record
contains the number of messages for that particular record (i.e. the total
number of messages is NOT the total of the counters for all the records for the
particular user). Is this correct; i.e. barring any corruption he can assume
that the total number of waiting messages is contained in the first record for
the user.

2. Is the counter ALWAYS in the same position vis-a-vis the record (it appears
to the customer to be at position 74)? He asks because during his developement
je has looked at PENDING.DAT using TPU and the counter for certain usersd
"appears" to be at a different offset.

Thanks,

Cb.
T.RTitleUserPersonal
Name
DateLines
2623.1Confusion by TPU?IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeWed Apr 28 1993 10:286
    I don't know the answer to the first question, but could he be getting
    confused when looking at the records with TPU if some of the characters
    preceding the count weren't displayable, and hence appeared to move the
    count to different locations? Or is TPU cleverer than that?
    
    Graham
2623.2FORTY2::ASHGrahame Ash @REOWed Apr 28 1993 10:595
On the first question, I'm fairly certain that the code which gets the unread 
count assumes that the total is in the first record - you can ignore 
continuation record 'totals'.

grahame
2623.3That's what I thought as well...TAV02::CHAIMSemper ubi Sub ubi .....Wed Apr 28 1993 12:2812
>
>    I don't know the answer to the first question, but could he be getting
>    confused when looking at the records with TPU if some of the characters
>    preceding the count weren't displayable, and hence appeared to move the
>    count to different locations? Or is TPU cleverer than that?
>    

That is what I surmised as well.

Thanks,

Cb.
2623.4Same for V3.0 ???TAV02::CHAIMSemper ubi Sub ubi .....Thu Apr 29 1993 07:526
Can anyone please tell me if PENDING.DAT has changed for V3.0 both physically
(format) and/or conceptually (regarding the counter).

Thanks,

Cb.
2623.5NoIOSG::SHOVEDave Shove -- REO2-G/M6Thu Apr 29 1993 16:393
    That is, the relevant parts of PENDING.DAT didn't change for v3.0
    
    Dave.