[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

579.0. "Script to schedule a meeting?" by NEWOA::SMITHMR (Michael Smith (@NEW)) Mon Apr 27 1992 15:59

	Can anyone tell me why the script below fails to add the attendee
	to the meeting? Am I setting up the CAL$SCROLL_ATTENDEES dataset
	correctly? I don't get an error, just fail to get any attendees.

	Mike.

!--------------------------------------------------------------------------+
	CAL INIT FILES
!
	GET #CAL_MTNG_SCHEDULER	= "MANAGER"
	GET #CAL_MTNG_WHEN 	= "28-Jul-1992" 
	GET #CAL_MTNG_STIME 	= "09:10pm"
	GET #CAL_MTNG_ETIME 	= "09:40pm"
	GET #CAL_MTNG_DESC 	= "Project Meeting"
	GET #CAL_MTNG_LOC 	= "Warrior"
	GET #CAL_MTNG_CONFID 	= "N"
	GET #CAL_MTNG_PRIO 	= "1"
!
	CAL SET DATE #CAL_MTNG_WHEN
	CAL CLEAR ATTENDEE
	WRITE ADD CAL$SCROLL_ATTENDEES NUMBER=0, TEXT="SMITHMR"
	CAL ADD_ATTENDEE 
	CAL SCH MEET 
T.RTitleUserPersonal
Name
DateLines
579.1Check these twoUTRTSC::BOSMANWe're just sugar mice in the rainMon Apr 27 1992 16:497
    Hi,
    
    Two things to check:
    -   Use #CAL_MTNG_PRIORITY instead of #CAL_MTNG_PRIO.
    -   Use "   1" instead of 0 for the NUMBER field.
    
    Sjaak.
579.2What version?SHALOT::WARFORDRichard Warford @OPA DTN 393-7495Mon Apr 27 1992 17:164
    If this is a V3.0 system, see previous notes on adding attendees.
    TM no longer uses the CAL$SCROLL_ATTENDEES DSAB as of V3.0.
    
    Rick
579.3MoreNEWOA::SMITHMRMichael Smith (@NEW)Tue Apr 28 1992 08:5711
    Re. .1

    This didn't help. However I do get an error stating that I'm not the
    scheduler of this meeting. Even though #CAL_MTNG_SCHEDULER is set up.

    Re. .2

    V2.4

    Why is this so difficult? 
579.4It's a featureAIMTEC::ZANIEWSKI_DWhy would CSC specialists need training?Tue Apr 28 1992 18:508
        Use a another line
        
         WRITE ADD CAL$SCROLL_ATTENDEES NUMBER="2", TEXT=""
        
        before the CAL SCH MEETING.  I don't think the CAL ADD_ATTENDEE is
        necessary.
        
        Dave Zaniewski
579.5Not quite...SHALOT::LANPHEARTest the water or turn the tide?Wed Apr 29 1992 16:5532
!--------------------------------------------------------------------------+
	CAL INIT FILES
!
	GET #CAL_MTNG_SCHEDULER	= "MANAGER"
	GET #CAL_MTNG_WHEN 	= "28-Jul-1992" 
	GET #CAL_MTNG_STIME 	= "09:10pm"
	GET #CAL_MTNG_ETIME 	= "09:40pm"
	GET #CAL_MTNG_DESC 	= "Project Meeting"
	GET #CAL_MTNG_LOC 	= "Warrior"
	GET #CAL_MTNG_CONFID 	= "N"
	GET #CAL_MTNG_PRIO 	= "1"
!
	CAL SET DATE #CAL_MTNG_WHEN
	CAL CLEAR ATTENDEE
>	WRITE ADD CAL$SCROLL_ATTENDEES NUMBER=1, -
>          TEXT="SMITHMR                              ( SMITHMR )"  
>       WRITE ADD CAL$SCROLL_ATTENDEES NUMBER=2, TEXT=""
	CAL SCH MEET 

       You certainly don't want	CAL ADD_ATTENDEE, because, if you look at
    the APR, it adds an attendee to an _existing_ meeting, based on the
    value of #CAL_MEETING_POINTER - obviously not the case.  Also, if you
    want the mail sent out correctly, and if you want the attendees to
    really show up in the meeting file, you _have_ to specify the "mail"
    format of 'user:37( user )' (as above).  If you use the above script,
    it will schedule the meeting you requested.
    
       Now the real question - why?  Do you need to schedule meetings from
    a batch job, or is there some reason that you don't like the existing
    TM UI?  :-)
    
						Cheers, Dan'l
579.6Thanks for your timeNEWOA::SMITHMRMichael Smith (@NEW)Thu Apr 30 1992 08:4214
    Thank you very much.

>       Now the real question - why?  Do you need to schedule meetings from
>    a batch job, or is there some reason that you don't like the existing
>    TM UI?  :-)
>
    This is needed by a Digital sponsered student who's final year project
    is a time management system for PCs that integrates with ALL-IN-1.
    He's written the PC side, and uploads a file of events that are then
    "imported" into ALL-IN-1. He was having trouble with the import
    script and gave me a ring. His college are interested in using this
    themselves if his project is successful.