| 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 | 
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.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 579.1 | Check these two | UTRTSC::BOSMAN | We're just sugar mice in the rain | Mon Apr 27 1992 15:49 | 7 | 
|     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.2 | What version? | SHALOT::WARFORD | Richard Warford @OPA DTN 393-7495 | Mon Apr 27 1992 16:16 | 4 | 
|     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.3 | More | NEWOA::SMITHMR | Michael Smith (@NEW) | Tue Apr 28 1992 07:57 | 11 | 
| 
    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.4 | It's a feature | AIMTEC::ZANIEWSKI_D | Why would CSC specialists need training? | Tue Apr 28 1992 17:50 | 8 | 
|         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.5 | Not quite... | SHALOT::LANPHEAR | Test the water or turn the tide? | Wed Apr 29 1992 15:55 | 32 | 
| !--------------------------------------------------------------------------+
	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.6 | Thanks for your time | NEWOA::SMITHMR | Michael Smith (@NEW) | Thu Apr 30 1992 07:42 | 14 | 
| 
    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.
 | |||||