[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

2468.0. "FILECAB_REORG" by ANGLIN::HARRIS (Let the party begin...) Wed Mar 24 1993 19:30

    ALL-IN-1 3.0
    
    Does FILECAB_REORG.SCP purge copies of the DOCDB.DAT and DAF.DAT in the
    .OA directory.  I see where it does the FILECAB.DAT. I found where I
    can modify the script to purge the DOCDB.DAT and DAF.DAT in drawers.
    
    But what about the [.OA]DOCDB.DAT and [.OA]DAF.DAT ?
    
    I'm trying to update code that was written for ALL-IN-1 2.2/2.3.
    Gotta get this place into the 90's !
    
    	thanks - ann
    
T.RTitleUserPersonal
Name
DateLines
2468.1IOSG::MAURICEBecause of the architect the building fell downThu Mar 25 1993 08:3010
    Hi,
    
    You need to set symbol OA$CAB_FILE_PURGE_COUNT to the number of copies
    you wish to have. The default is 2. The DOCDB and DAF in the user's
    sub-directory are also part of a drawer, and so are subject to the same
    rules.
    
    Cheers
    
    Stuart
2468.3logic seems strange to me ??COMICS::BARHAMNorbert:Mon Aug 23 1993 12:0440
    WPS-PLUS/VMS British 4.1
    
    (From WPS-PLUS note 1290) 
    
    My customer and I also find that an FCO does not purge the DOCDB and
    DAF.DAT files. Looking at [WPSPLUS.DO_SHARE]FILECAB_REORG.SCP I see it
    testing OA$CAB_FILE_PURGE_COUNT. Mine has a value of 2 which to me says
    that #PURGE_LATER will remain at 0 and hence .GOTO NO_PURGE which trace
    shows to be correct. So what do I do to get it to purge ?
    I've marked the important lines in FILECAB_REORG.SCP with ***** 
                            
    !+
    !       FILECAB_REORG.SCP
    !       ALL-IN-1 V2.3                    <- *****
    !       N.B. This is a <DO SCRIPT                
    .
    .
    .     
    ***** ->     GET #PURGE_LATER = "0"
    ***** ->     .IF OA$CAB_FILE_PURGE_COUNT < "2" -
                    THEN GET OA$CAB_FILE_PURGE_COUNT = #PURGE_LATER = "2"
                 CABINET REORG_DOCDB
                .IF OA$STATUS NES "1" THEN .GOTO ABORT_EXIT
                 COMMAND CNVPRTUIC OAUSER:DOCDB.DAT;-1 OAUSER:DOCDB.DAT;0
                .IF #CNVPRTUIC == "0" THEN .GOTO ABORT_EXIT
                 COMMAND CNVPRTUIC OAUSER:DAF.DAT;-1 OAUSER:DAF.DAT;0
                .IF #CNVPRTUIC == "0" THEN .GOTO ABORT_EXIT
    **** ->     .IF #PURGE_LATER EQ "0" THEN .GOTO NO_PURGE
    
    
        I tried setting OA$CAB_FILE_PURGE_COUNT to 1 but FCO then told me I
        had no privelege to delete these two files (since they have
        (RWE,RWE,RE,) protection - it proceeded to make temporary DOCDB and 
        DAF.TMP files instead!).
    
        What to do ??!
    
        Thanks,
                  
        Clive
2468.4Needs owner delete accessIOSG::MAURICEDifferently hirsuteMon Aug 23 1993 12:278
    Looks like WPS-PLUS/VMS is better in the respect that it does not put
    Owner delete on the files, thus helping prevent accidental deletion.
    But it has not followed this through by setting owner delete in this
    script.
    
    Cheers
    
    Stuart