[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

489.0. "Archive docs beginning with Mail Janitor asset" by NCBOOT::LUNDIN () Tue Apr 14 1992 21:40

    I am doing some ALL-IN-1 programming for a customer. They want to
    archive certain documents, based on number of days old, and the subject
    line of the document.  (i.e. if the title = test, it is over 30 days
    old, and the document is still in the read folder, it is to be archived
    by a procedure run by the ALL-IN-1 manager/system administrator.
    
    I am planning on using the mail janitor asset package as a beginning
    and instead of using CABINET DELETE_OR_REFILE to move the document to
    the wastebasket, I am thinking of using ARCHIVE_DOCUMENT.
    
    Any feedback on this idea would be most appreciated.  
    
    I am not an expert at ALL-IN-1 programming, so any help WILL  help.
    
    Thanks,
    
    Sandra Lundin
T.RTitleUserPersonal
Name
DateLines
489.1Need to do some checksAIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCTue Apr 14 1992 22:1314
If you archive documents directly you need to check that there is enough
disk quota to complete the operation before you try to do it and you will
also need to update the count of the number of documents in the archive area.

You may want to look at the script OA$DO:ARCHIVE_PENDING_DOCUMENTS.SCP for
an example of using the ARCHIVE_DOCUMENT command.

Alternativly you could just cross file the documents you want archived into
the PENDING ARCHIVE folder and let the archiving housekeeping procedure
do the archiving for you.

HTH

Terry