[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

3809.0. "List Processing and multiple filename.WPL versions" by BERN01::MUELLERS (Stefan A Mueller 761-4864) Tue Jan 25 1994 14:27

    Hi,
    
    One of my customers complained about multiple versions of the file
    containing the output document of list processing. I was able to
    reproduce this problem on his V3.0 system. 
    
    Is this a known problem?
    
    As a workaround I added a line to the script after OA$DO:WPSLPS.SCP
    the .LABEL EXIT_PROCEDURE just before .EXIT which purges oa$curdoc_filename.
    
    Stefan
    
T.RTitleUserPersonal
Name
DateLines
3809.1Not a known problemIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Tue Jan 25 1994 14:479
It's not a known problem so please submit an SPR.  

I can't see a label called EXIT_PROCEDURE in the V3.0 version of 
OA$DO:WPSLPS.SCP.  Your workaround will be work for foreground operation but 
other changes will be required for background operation.


Richard

3809.2More detailsBERN01::MUELLERSStefan A Mueller 761-4864Wed Jan 26 1994 08:0726
    Richard,
    
    The name of the label in OA$DO:WPSLPS.SCP is .LABEL DONE_EXIT.
    
    My workaround:
    
    .LABEL DONE_EXIT
    
            .IF #WPLFLG EQS "SORT" -
                THEN GET $WPDOC=$WPSODOC \ GET $WP_DRAWER=$WPSODWR
            .IF #WPLFLG EQS "LIST" -
                THEN GET $WPDOC=$WPLODOC \ GET $WP_DRAWER=$WPLODWR
            CABINET SELECT $WPDOC:30,$WPDOC:6:30,,$WPDOC
            GET #CURDOC="$WPDOC"
    !%%%1+%%%
    ! The following line has been added to purge the output document file
            GET OA$FUNCTION="PURGE " OA$CURDOC_FILENAME
    !%%%1-%%%
            .EXIT
    
    It works in forground and background processing.
    
    How do I submit an SPR?
    
    Stefan
                           
3809.3I will create an IPRIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Wed Jan 26 1994 11:158
I will create an IPR (Internal Problem Report) for this problem.

I can't see how your change will work for background processing because in 
that case the exit is performed by code at the label SECONDARY_EXIT.


Richard

3809.4background processing works without a workaroundBERN01::MUELLERSStefan A Mueller 761-4864Wed Jan 26 1994 15:1914
    Richard,
    
    I wasn't sure if background processing also created multiple versions.
    Looking into OA$DO:WPSLPS.SCP I found the command which submits the
    jobs for background processing. Looking into the files
    OA$LIB:BGSORT.COM and OA$LIB:BGLIPS.COM I found in both cases a purge
    command:
    
    line 29 in OA$LIB:BGSORT.COM: $ PURGE/LOG 'new_out_file
    line 28 in OA$LIB:BGLIPS.COM: $ PURGE/LOG 'new_out_file
    
    Thank you for submitting an IPR!
    
    Stefan 
3809.5Use OA$TEMP for temporary filesBERN01::MUELLERSStefan A Mueller 761-4864Wed Jan 26 1994 15:408
    Another question:
    
    What happens with the WPL$_nnnnnn.LOG files in SYS$LOGIN? Who purges
    them? I think it's better to place them into OA$TEMP. The same for all
    the files reference by P2,P3,P4 in the SEND_JBC commands in WPSLPS.SCP
    
    Stefan