Auto-restart processing in an IMS batch application
AssigneeInternational Business Machines Corporation
InventorsAlan R. Smith, James C. Wright
Life of this patent
Estimating the term…
Abstract
A transfer of control to a batch application is intercepted, wherein a batch front-end routine receives control in place of the batch application and performs initialization processing. This initialization processing comprises issuing a DLI restart call and issuing a DLI checkpoint call. If the DLI restart call returns a checkpoint ID, then one or more databases associated with the batch application are repositioned. The transfer of control to the batch application is then resumed, whereby the batch application restarts from the checkpoint ID, if the checkpoint ID was returned by the DLI restart call, in a manner transparent to the batch application.
Claims20
A method for performing restart processing on a computer system for a batch application, said method comprising:
- intercepting a transfer of control to said batch application wherein a batch front-end routine receives control in place of said batch application and performs initialization processing, said initialization processing comprising:
- issuing a DLI restart call;
- issuing a DLI checkpoint call;
- repositioning one or more databases associated with said batch application if said DLI restart call returns a checkpoint ID;
- and
- resuming said transfer of control to said batch application,
- whereby said batch application restarts from said checkpoint ID, if said checkpoint ID was returned by said DLI restart call, in a manner transparent to said batch application.
A computer system for performing restart processing for a batch application, said computer system comprising:
- a computer;
- a batch front-end routine, wherein said batch front-end routine receives control in place of said batch application and performs initialization processing comprising:
- issuing a DLI restart call;
- issuing a DLI checkpoint call;
- repositioning one or more databases associated with said batch application if said DLI restart call returns a checkpoint ID;
- and
- resuming said transfer of control to said batch application,
- whereby said batch application restarts from said checkpoint ID, if said checkpoint ID was returned by said DLI restart call, in a manner transparent to said batch application.
An article of manufacture for use in a computer system tangibly embodying computer instructions executable by said computer system to perform a process for restarting a batch application, said process comprising:
- intercepting a transfer of control to said batch application wherein a batch front-end routine receives control in place of said batch application and performs initialization processing, said initialization processing comprising:
- issuing a DLI restart call;
- issuing a DLI checkpoint call;
- repositioning one or more databases associated with said batch application if said DLI restart call returns a checkpoint ID;
- and
- resuming said transfer of control to said batch application,
- whereby said batch application restarts from said checkpoint ID, if said checkpoint ID was returned by said DLI restart call, in a manner transparent to said batch application.
A method for restarting a failed auto-restart batch application comprising:
- identifying said auto-restart batch application on a Job Control Language EXEC statement;
- specifying a checkpoint ID associated with an automatically generated checkpoint on said Job Control Language EXEC statement;
- and
- submitting a job comprising said Job Control Language EXEC statement for execution, whereby a batch front-end routine performs required database repositioning prior to the execution of a batch application in a manner transparent to said batch application.
Dependencies are inferred from the claim text.