[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

3605.0. "TM EV PWE - The whole week?" by KERNEL::LOAT (Stop throwing those bloody spears!) Tue Nov 30 1993 11:17

    
    ALL-IN-1 3.0
    
    When in TM, and using the EV PWE option to print the weeks events,
    there are two users who get two different outputs.
    
    The first gets the header, and then if there's nothing scheduled for
    that week, nothing else at all on the printout.
    
    The second gets the header, and then the run down for the whole week,
    even if there are no events scheduled for that week.
    
    Can someone tell em which is the correct behaviour for this PWE option?
    Should you get the whole week, if there are no events scheduled, or
    should it show you no days at all?
    
    I've had a look and this is all done by the CAL PRINT WEEK_SCHEDULE
    function, but I don't know which is the correct way for this function
    to create the CALENDAR.TMP file.
    
    Thanx
    
    Steve. 
    
T.RTitleUserPersonal
Name
DateLines
3605.1working hours different?FRAMBO::HOFMANNStefan Hofmann, IST FiWi @FRSTue Nov 30 1993 14:567
    just a wild guess:
    
    the printout with the grid, even if nothing scheduled, is the correct
    one. The other user has possible set his working hour to very large
    values which can not bve displayed accordingly.
                             
    	Stefan
3605.2KERNEL::LOATStop throwing those bloody spears!Tue Nov 30 1993 15:5826
    
    re .-1
    
    �the printout with the grid, even if nothing scheduled, is the correct
    �one. 
    
    I'm using the PWE option which should just give a live of text with the
    day and the date on it, no grid. If I have nothing scheduled, I don't
    even get the day and date headers, just the top header.
    
    Your suggestion showed sonething up though. If I use the PWG option,
    when I have nothing scheduled, I get a message back saying "Nothing
    found for that week", and I don't get anything output at all.
    
    Should PWE do the same instead of giving half a printout?
    
    �The other user has possible set his working hour to very large
    �values which can not bve displayed accordingly.
    
    I've changed the working hours to 09:00 to 17:00, and that made no
    difference.
    
    Anymore ideas?
    
    Steve.
    
3605.3Whoops!KERNEL::LOATStop throwing those bloody spears!Wed Dec 01 1993 16:2829
    
    Some more info(ish!)
    
    I've looked at the difference between the two options, PWE and PWG,
    and the named data is:
    
    ;;OA$_MO_PRINT_WEEK_EXPANDED;; PWE
    
    DECLARE_METER #PRINT, OA$_TM_EV_PWE\START_METER #PRINT\
    GET #WS_PROMPT = "E"\IFEXIT\CAL PRINT WEEK_SCHEDULE\DO TMPRINT
    \STOP_METER #PRINT
    
    ;;OA$_MO_PRINT_WEEK_GRID;; PWG
    
    DECLARE_METER #PRINT, OA$_TM_EV_PWG\START_METER #PRINT\
    GET #WS_PROMPT = "G"\IFEXIT\CAL PRINT WEEK_SCHEDULE\DO TMPRINT
    \STOP_METER #PRINT
    
    So they both use the same CAL PRINT SCHEDULE function, but I assume
    that symbol #WS_PROMPT defines how it will format the output, but since
    I can't find this in the documentation anywhere, it make
    troubleshooting a bit difficult!
     
    Is the function CAL PRINT WEEK_SCHEDULE documented anywhere?
    
    Thanx
    
    Steve.
    
3605.4AIMTEC::ZANIEWSKI_DWhy would CSC specialists need training?Wed Dec 01 1993 22:3610
        CALENDAR PRINT WEEK_SCHEDULE is documented in APR volume 2, but
        don't bother looking  8-(
        
        Check your other work conditions instead.  First day, and number
        of days?  In version 3.0, preferred date formats of 8 and 9
        produce some interesting results.
        
        Warning, don't use <NEWDIR to test this condition.
        
        Dave Zaniewski
3605.5KERNEL::LOATStop throwing those bloody spears!Fri Dec 03 1993 11:5022
    
    
    Well, I've narrowed it down a bit.
    
    It seems that if you've got an event scheduled for any time in the
    future, when you use PWE or PWG, you get a full printout, even if you
    don't have any events scheduled for that week.
    
    If you don't have anything scheduled for the future, you only get the
    header info from the PWE option, and from the PWG option, you get a
    message saying "Nothing found for that week"
    
    The rather clumsy workaround they've got at the moment is to schedule
    an event for the year 3000, which means they always get a full printout
    from the PWE and PWG options.
    
    Anyone reported this before, or should I go ahead and SPR (IPMT?) this
    problem.
    
    Steve.