[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

3651.0. "Writing large files to buffer" by ANGLIN::HARRISA (lost in the jungle of doubt) Fri Dec 10 1993 16:00

    ALL-IN-1 3.0-1, VMS 5.5-2
    
    customer has a home-grown procedure that NEWDIRs to each account, does
    a CAB SCAN to find docs in the READ and OUTBOX folders older than a
    specified date. These docs are then refiled to the wastebasket.
    
    this worked fine in 2.4, but since upgrading to 3.0, it is failing on
    the sites with over 1000 users. the error message in the log file is
    
    _____________________________________________________________
    	READ and OUTBOX docs older than 199306 to be deleted
    
    
      Improperly handled condition, image exit forced.
    
            Signal arguments              Stack contents
    
    %SMJACKET-I Invoking common END_BATCH procedure
    %END_BATCH-I Performing End batch job procedures for "PRO"
    _____________________________________________________________
    
    it does process for a number of hours, but then dumps out.  i know its
    in the way the data is written to the log file. what shuld display is
    each user name and the number of docs that were refiled. here is the
    code that does the display of each user name:
    
    ____________________________________________
    .LABEL DONE
        GET #TARGDOC = ""
        GET #TEMP_MESS = "USER - " #NEWUSER " " #USER_UNSHARED
        GET OA$FUNCTION = "DISPLAY " #TEMP_MESS \FORCE
        COMPUTE #TOT_UNSHARED = #TOT_UNSHARED + #USER_UNSHARED
        COMPUTE #TOT_ACCOUNTS = #TOT_ACCOUNTS + 1
        .EXIT
    ____________________________________________
    i had added a \FORCE thinking it might force the output instead of
    putting it into a buffer. if i break it up to 2 jobs it works OK.
    is the usage and/or placement of the \FORCE incorrect?
    
    	thanks for any help!
    
    		Ann
    
    PS - on our smaller 3.0 sites, this is working fine, without the
    \FORCE.
    
    
    
T.RTitleUserPersonal
Name
DateLines
3651.1Global buffers?IOSG::MAURICEInsufficient hair for flowerSun Dec 12 1993 16:4014
    Hi,
    
    Do you have global buffers set on the SDAF files? There is still an
    outstanding RMS problem if files with global buffers are opened and
    closed without being accessed. 
    
    The way we worked round the problem in our housekeeping procedures is
    to use a FOR loop through the PARTITION file, and then use CABINET
    SET_DRAWER function instead of NEWDIR. You can see examples in
    OA$LIB:SMREORG*.SCP.
    
    HTH
    
    Stuart