G4GLSTEVT

                      List Google Calendar Events (G4GLSTEVT)   
             
 Type choices, press Enter.

 Google ID  . . . . . . . . . . .
 Calendar ID  . . . . . . . . . .
 From Date  . . . . . . . . . . .                 Date
 To Date  . . . . . . . . . . . .                 Date
 Event Key  . . . . . . . . . . .
                                                  
                            Additional Parameters                               
 
 Event Option . . . . . . . . . .   *REPLACE      *REPLACE, *ADD
 CCSID  . . . . . . . . . . . . .   819           Number
 Debug  . . . . . . . . . . . . .   *NO           *YES, *NO
 Debug File . . . . . . . . . . .
                                                                         Bottom
 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display   
 F24=More keys                                                                 


The G4GLSTEVT command is used to retrieve a list of events from a specific calendar. 
  • Google ID - Enter the Google ID associated with the calenders you wish to list.
  • Calendar ID - Enter the unique calendar ID that you wish to use.  The physical file G4GCALPF contains a list of valid calendars.  For each available calender a record will be added with a unique ID.  This calender ID is stored in the field GGCCALID.  This value should be used on this parameter.
  • From Date - Enter a start date of events to list.
  • To Date - Enter an end date of events to list. 
  • Event Key - Enter an event key to further subset the records that are selected.  This field is optional.
  • Event Option - Enter the option to perform when storing events.  *REPLACE will clear the events from the file for the Calender ID specified before retrieving them.  *ADD will add records to the file, and if a duplicate event is found update it with the most recent information from the calendar.
  • CCSID - Enter a CCSID for data translation.
  • Debug - Enter *YES to debug this command.
  • Debug File - Enter the fully qualified path and name of the IFS file to store the debug data.  If left blank the default of /tmp/g4g_<id>_listCalenderEvents_<date>.txt will be used.
We have found an issue with the event list API provided by Google in that events that are set to start 7pm and later will not be retrieved for that specific day, and will be included on the next day's event list.

For example, if you have an event set to start at 7:30pm on October 26th and you retrieve all the events for October 26th, this even will NOT be retrieved.  But, if you retrieve events for October 27th this event will then be included in the event list.  

This is something we are asking about and hope to get an answer as to why this happens.



Comments