g4gcal_deleteEvent
*//////////////////////////////////////////////////////////////*
* g4gcal_deleteEvent - Delete Calendar Event *
* *
* Output: *
* out_errMsg - The error message (if error exists). *
* *
* Returns: *
* -1 for error, 0 for no error. *
* *
* Settable Variables ([r]=required) *
* id - Google ID [r] *
* calendar_id - Calendar ID [r] *
* event_id - Event ID [r] *
* send_note - Send notifications to attendees (*NO, *YES) *
* ccsid - The CCSID to use (1208) *
* debug - Turn on Debug (*NO, *YES) *
* debug_file - The debug file name. *
* (/tmp/g4g_[id]_delCalendarEventDebug_[eventid].txt) *
* *
*//////////////////////////////////////////////////////////////*
D g4gcal_deleteEvent...
D PR 10i 0
D out_errMsg 256 Options(*NOPASS)
g4gcal_deleteEvent will delete an event from the specified calendar.
Returns: 0 for a successful delete, -1 for error.
Optional Parameters:
Error Message (output) - Error message
Settable Variables (use #g4gcal_setValue)
id (required) - Your Google ID
calendar_id (required) - The ID of the calendar to delete an event from. This should be a valid Calendar ID from field GGCCALID in file G4GCALPF.
event_id (required) - The ID of the event to be removed. This should be a valid event ID from the GGVEVTID field in the G4GEVTPF file.
send_note - Specify if you wish to send notifications for the deletion of the event. The default value is *NO. Use *YES if you wish notifications to be sent to those attending.
ccsid - The CCSID to use. The default is 1208.
debug - Specify *YES to turn on debug, or *NO to turn off debug. The default is *NO.
debug_file - Specify the fully qualified file name for the main debug file. The default is /tmp/g4g_[id]_delCalendarEventDebug.txt