[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

1497.0. "Mail Janitor utility in Report mode" by JOCKEY::63953::John-Boy (Glad that the Devil is Red !!) Thu Sep 24 1992 09:58

                                ***  MJU in report mode  ***

        Hi,

        A customer is about to upgrade to ALL-IN-1 V3.0 and will be implementin
        the mail janitor PASS.  What they have asked is whether it is possible
        to run the janitor in `report' mode ie. perform a normal processing
        run but report back to manager what/how many messages would be moved
        to wastebasket if this was a live run.  To take it one stage further,
        an enhancement they would like to see is for this report to indicate 
        what disk space would be recovered if all messages moved are subsequent
        deleted from wastebasket (hence OA$SHARE).

        Will/should all this be possible by customising ?  I don't have a kit
        to hand and can't rememeber if an .exe is involved or whether its all
        scripts and command files.  Anybody done anything similar to give an
        idea of what works involved ?

        Regards,
        John

        (cross-posted in EOASSETS conference)

T.RTitleUserPersonal
Name
DateLines
1497.1Script customizationUTRTSC::SCHOLLAERTAlfa readyThu Sep 24 1992 19:5133
    Hi John,
    
    Should be possible.
    
    Refiling it done by SM_USER_MJU.SCP like this.....
    
    
!
! Process documents in the OUTBOX folder
!
for CAB$ with .FOLDER eqs #OUTBOX and -
	.MODIFIED_NBS:8 lt #CHECK_DATE do -
	compute #NUMBER_OUTBOX = #NUMBER_OUTBOX + 1 -
        \\get #MJUDOC = .FOLDER:30 .DOCNUM  -
        \\GET #VMS_FILE = .FILENAME -
        \\get #title = .title -
	\\GET #TMP="TMP" -
	\\cab delete_or_refile #MJUDOC , #WSTBSKT -
	\\GET #TEXT="Refiling doc from:  " #MJUDOC -
	\\.TEXT #TEXT -
	\\GET #TEXT="  With file name: " #VMS_FILE -
	\\.TEXT #TEXT -
	\\GET #TEXT="  With title: " #TITLE -
	\\.TEXT #TEXT 
GET #TEXT="A total of " #NUMBER_OUTBOX -
" OUTBOX document(s) refiled for " #USER 
.text #text
!
    
    
    Regards,
    
    Jan
1497.2Wrong script - MJU has changed in V3.0SIOG::T_REDMONDThoughts of an Idle MindThu Sep 24 1992 20:0212
    The only problem is that SM_USER_MJU.SCP is not used in the MJU for
    ALL-IN-1 V3.0....
    
    MJU for V3.0 has been rewritten. It's now part of the EW housekeeping
    procedure (an extension of the EW housekeeping procedure rather). 
    
    But I see no reason why something like a system symbol couldn't be set
    to stop the CABINET REFILE_DOCUMENT ,OA$WASTEBASKET being executed. 
    The message would still be generated and sent to the user so in effect
    you'd be running MJU in report mode.
    
    Tony