Requesting TIME-initiated EXECs with the TIMEXEC application


The TIMEXEC application manages time-initiated EXEC requests by using the CALLX service to schedule your specified EXEC based on time. It extracts and formats system, job, and time data from a target and BBI. It then passes this information to the EXEC as variables in 10 standard parameters that can be used within the EXEC logic.

For information about how your automation with time-initiated EXECs can be affected when you change the MVS Local Time to observe daylight savings time, see Managing-daylight-saving-time-and-time-initiated-automation.

(BMC.AMIOPS.SPE2110)

The Time Initiated (TI) view is shown in the following figure:

ddmmyyyy  10:44:31 -------------------------------- MAINVIEW WINDOW INTERFACE (V7.0.00) -
COMMAND  ===>
CURR WIN ===> 1        ALT WIN ===>
 W1 =TI================EK6X=====*========ddmmyyyy==10:44:31====MVAO=====D====1===========
-  Time-initiated EXECs and Rules
   - Add single EXEC request
   - Add BLK request


CMD Name     Req  Current  Interval Start    Stop     Quiesce UserId
--- -------- Type Status-- -------- -------- -------- ------- --------
    QCDTIME  EXEC INIT     24:00:00 28:00:00          No      BAOEUK1
    RUMTIME  EXEC INIT     22:00:00 22:00:00          No      BAOEUK1
    ASVTIME  RULE ACTIVE   20:00:00 24:00:01 24:00:01 YES     BAODDL1
    SHUTDOWN RULE INIT     00:00:05 18:00:00 18:00:00 YES     18:00:00 

Use the following hyperlinks to display additional dialogs:

  • Add single EXEC request: enter a Target and EXEC Name (required fields) and additional optional scheduling information for EXECs you want to schedule on a time basis
  • Add BLK request: enter a Target and the name of a BBPARM member where timer-driven requests are grouped (Target and BLK name are required fields)
    See Block-of-CALLX-requests for more information.  

You can also enter the following commands to display the dialogs:

  • ADDEXEC
  • BLK

For more information about how to use the Add single EXEC request or Add BLK request dialogs, press PF1 to access the online help.

You can use the P line command (Purge) for any of the displayed EXECs to stop the EXEC. 

The TI view also displays TIME-initiated Rules that are running in the PAS. You cannot use the P line command to stop or purge TIME-initiated Rules. To stop a TIME-initiated Rule, disable the Rule from the RULESR view. 

(Without BMC.AMIOPS.SPE2110 applied)

The full-screen input panel for the TIMEXEC application is shown in the following figure.


 BMC Software --------- TIME-INITIATED EXEC REQUESTS ------------ REQUEST ISSUED
 COMMAND ===>                                                 TGT ===> CICSA
                                                              DATE - MM/DD/YY
 Enter single CALLX request:                                  TIME - 14:16:44
  EXEC ==>
     INTVL ==>          START ==>          STOP ==>          QIS ==>
   STOPCNT ==>

 Enter BLK request:
   BLK ==>
                          --- CURRENT CALLX REQUESTS ---
  LC CMDS : P(PURGE)
  LC  EXEC     STATUS INTVL    START     STOP    QIS USER
      DRIVER   INIT   24:00:00 07:00:00          NO  CWB1
      SMFDUMP  INIT   24:00:00 18:00:00          NO  CWB1
      DISA     INIT   00:30:00 08:00:00          NO  CWB1
      **************** END OF REQUESTS ******************

The TIME-INITIATED EXEC REQUESTS panel fields are defined as follows.


Field

Description

LC

In the line command field

Enter the following one-character command on the line of the CALLX request you want to purge: P

EXEC

Is the name of the EXEC for which a CALLX request was made

STATUS

Current status of the CALLX request for an EXEC, which can be:

  • ACTV: the request is active
  • INIT: the request is waiting to be scheduled. A start time was specified and has not been reached yet.
  • HELD: HOLD=YES was specified by the SET command. The request is being held until another SET command is issued for the CALLX request for this EXEC.
  • COMP: the request stopped. The stop time or count specified by the TIMEXEC application STOP parameter was reached.
  • INV: request terminated because of an invalid parameter.
  • LOCK: the request terminated because:
    • A service routine ABEND locked the CALLX service
    • A locked request cannot be reactivated and it must be purged
  • RST: the request will restart at the next interval time

INTVL

Period of time between EXEC invocations

START

Start time of the request

The valid start times are from 00:00:01 to 24:00:00

00:00:00 is not supported. If the time shown is greater than 24:00:00, it means the EXEC will be scheduled the following day.

STOP

Stop time of the request

Blank means a stop time has not been specified.

Note

The valid stop times are from 00:00:01 to 24:00:00 (00:00:00 is not supported). If the time shown is greater than 24:00:00, it means the EXEC will be stopped the following day.

USER

User identifier (USERID) of the BMC AMI Ops Automation user who made the request

This section contains the following topic:

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*