Using HourGlass with CICS

HourGlass CICS supports both Global Control and User Control. Global Control, also called CICS Control, provides the capability to specify an HourGlass date and time value that is in effect for the entire CICS region. If desired, this global date and time value can be restricted to particular users, terminals, or transactions. User Control provides the capability to specify a unique HourGlass date and time value for each individual user within the CICS region.

The HGCC transaction manages the CICS Global Control facility, while the HGUC transaction manages the CICS User Control facility (hereafter referred to as Global Control and User Control, respectively). Both Global Control and User Control can be active simultaneously in a CICS region. In that case, date and time values specified via User Control take precedence over those specified via Global Control.

HourGlass must first be initialized in a CICS region before User Control can be invoked. This initialization can be accomplished either through use of the HGCC transaction or through the Automatic Startup facility. See Automatic startup for details.

In a CICS environment, HourGlass affects the system date and time when it is retrieved using any of these interfaces:

  • The EIBDATE field
  • The EXEC CICS ASKTIME command
  • A DB2 SQL Date/Time/Timestamp
  • A COBOL or LE/370 Date/Time function
  • An SVC 11 request
  • A TIME LINKAGE=SYSTEM service request