[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

3834.0. "Invalid DAF pointer" by HGOVC::MASCOTTANG () Tue Feb 01 1994 08:00

     We run VIC FAX system on ALL-IN-1, but the VIC FAX system is marked all
    files to non-deleteable. Therefore, users use DOCDB to change the
    field of file to deleteable, but it has problem when users execute 
    the DOCDB.DAT, the document number is reset to 000000, and then 
    when users create or send mail, it displays "DAF pointer is invalid"
    and users cannot read the new mail and the new mail count is
    corrupted. 
    
    I tried this function again. There is no problem for me to do it.
    I would like to know as follows:
    
    1) How occurs this case when users use DOCDB ?
    2) If the pointer is reset to 000000, how can I fix problem for users ?
       (How to reset the pointer in DAF.DAT)
                                  
    
    Any advice should be appreciated.
    
    Many thanks.
    Mascot.
T.RTitleUserPersonal
Name
DateLines
3834.1Use CABINET RESET_DELETEIOSG::MAURICEI left my heart in AlcatrazTue Feb 01 1994 08:4618
    Hi,
    
    The message "DAF pointer is invalid" is strying to tell you that the
    value in the DAPOINTER field in the DOCDB record is not valid. It
    should be:
    
    P - for private document
    S - for shared mail message
    A - for archived document
    
    We do not recommend using the DOCDB form to change things, but
    sometimes as a last resort it is necessary. But not in this case where
    there is a function called CABINET RESET_DELETE which does exactly what
    you want. You can even put it in a UDP to make it easy for your users.
    
    HTH
    
    Stuart
3834.2Reset FAX docsSUBURB::CLEPHANEBFri Feb 25 1994 11:4019
    
    
    Sorry if this is a bit late but I had to do this on one of our systems
    sometime ago, I think the following should it,
    
     FOR PARTITION DO -
    	GET #DRW = .UNIQUE_NAME \\ -
    	CAB SET_DRAWER #DRW \\ -
    	FOR CAB$ WITH .TYPE EQS "FAX" DO -
    	WRITE CHANGE CAB$ %KEY = .%KEY, DELETE = "Y"
    	!GET OA$DISPLAY = .TITLE " " .DOCNUM " " #DRW
    
    Substitute the WRITE CHANGE line for the GET OA$DISPLAY line if you
    want to see first what will actually get reset.
    
    Regards,
    
    Bruce