System and method for recording the beginning and ending of job level activity in a mainframe computing environment
AssigneeTeracloud SA
InventorPaul J. Eckert
Life of this patent
Estimating the term…
Abstract
A system writes to a replicated direct access storage device (DASD) a record of each step within a job as each step begins and as each step completes. The records are maintained on the replicated DASD for a predetermined period of time. The predetermined period of time is, for example, the greatest amount of lag in replication of all storage systems operating within the system. The records are stored, for example, in an open jobs and datasets (OJD) file, where the file itself is a dataset. The dataset is written to by an online task (e.g., OJDSTC) which gathers input from two sources. Upon job completion, the records are stored, for example, in an OJD journal and removed from the OJD file.
Claims20
A system for use in restoring data processing capabilities in the event of an interruption of a batch process, comprising:
- a processor;
- and
- at least one storage device accessible by the processor;
- wherein the processor executes an activity tracking program that configures the system to:
- receive an indication of an activity related to a job predetermined to be a vital job, the vital job comprising:
- references to a plurality of executable programs having executable code to be executed by the processor, wherein the plurality of executable programs are executed as the batch process that runs independently of the activity tracking program,
- wherein each of the plurality of executable programs of the batch process includes one or more process, and one or more dataset references, each dataset reference including a dataset name of a dataset to be accessed by a related one of the one or more process,
- when the plurality of executable programs are executed as the batch process, generate a record in response to:
- the processor determining that the dataset is opened,
- the processor determining that the dataset is closed, and
- the processor determining that the one or more steps of the vital job is terminated,
- wherein the record identifies the vital job, captures the time of the activity related to the vital job, and identifies and categorizes a dataset being processed by the vital job,
- store the record in a record storage area of the at least one storage device,
- upon a determination that the vital job is complete, journal the record in a journal storage area of the at least one storage device and clear the record from the record storage area, and
- restore, based on the record stored in the journal storage area, data processing capabilities of the system after the interruption of the batch process is detected, the record stored in the journal storage area identifying the jobs and the datasets being processed by the vital job at the time of the interruption of the batch process.
An article of manufacture for use in restoring data processing capabilities in the event of an interruption of a batch process, comprising:
- a non-transitory machine readable medium;
- and
- an activity tracking program embodied in the medium, wherein execution of the activity tracking program by a processor configures the processor to:
- receive an indication of an activity related to a job predetermined to be a vital job, the vital job comprising:
- references to a plurality of executable programs having executable code to be executed by the processor, wherein the plurality of executable programs are executed as the batch process that runs independently of the activity tracking program,
- wherein each of the plurality of executable programs of the batch process includes one or more processes, and one or more dataset references, each dataset reference including a dataset name of a dataset to be accessed by a related one of the one or more processes,
- when the plurality of executable programs are executed as the batch process, generate a record in response to:
- the processor determining that the dataset is opened,
- the processor determining that the dataset is closed, and
- the processor determining that the one or more steps of the vital job is terminated,
- wherein the record identifies the vital job, captures the time of the activity related to the vital job, and identifies and categorizes a dataset being processed by the vital job,
- store the record in a record storage area of at least one storage device,
- upon a determination that the vital job is complete, journal the record in a journal storage area of the at least one storage device and clear the record from the record storage area, and
- restore, based on the record stored in the journal storage area, data processing capabilities of the system after the interruption of the batch process is detected, the record stored in the journal storage area identifying the jobs and the datasets being processed by the vital job at the time of the interruption of the batch process.
A method for use in restoring data processing capabilities in the event of an interruption of a batch process, comprising:
- receiving, by a job activity tracking process executing on a processor, an indication of an activity related to a job predetermined to be a vital job, the vital job comprising:
- references to a plurality of executable programs having executable code to be executed by the processor, wherein the plurality of executable programs are executed as the batch process that runs independently of the activity tracking program,
- wherein each of the plurality of executable programs of the batch process includes one or more processes, and one or more dataset references, each dataset reference including a dataset name of a dataset to be accessed by a related one of the one or more processes,
- when the plurality of executable programs are executed as the batch process, generate a record in response to:
- the processor determining that the dataset is opened,
- the processor determining that the dataset is closed, and
- the processor determining that the one or more steps of the vital job is terminated,
- wherein the record identifies the vital job, captures the time of the activity related to the vital job, and identifies and categorizes a dataset being processed by the vital job,
- store the record in a record storage area of at least one storage device,
- upon a determination that the vital job is complete, journal the record in a journal storage area of the at least one storage device and clear the record from the record storage area, and
- restore, based on the record stored in the journal storage area, data processing capabilities of the system after the interruption of the batch process is detected, the record stored in the journal storage area identifying the jobs and the datasets being processed by the vital job at the time of the interruption of the batch process.
Dependencies are inferred from the claim text.