Claims
- 1. 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.
- 2. The method of claim 1 wherein said repositioning of one or more databases utilizes repositioning data from a checkpoint save area returned from said DLI restart call.
- 3. The method of claim 1 wherein said checkpoint ID is associated with a checkpoint issued from a DLI intercept routine.
- 4. The method of claim 3 wherein said repositioning data is saved in said checkpoint save area by said DLI intercept routine.
- 5. The method of claim 1 wherein said batch application is an IMS application selected from the group consisting of a BMP batch application, a DLI batch application and a DBB batch application.
- 6. The method of claim 1 further comprising bypassing said repositioning of one or more databases based upon testing a restart reposition global indicator.
- 7. 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.
- 8. The computer system of claim 7 wherein said repositioning of one or more databases utilizes repositioning data from a checkpoint save area returned from said DLI restart call.
- 9. The computer system of claim 7 wherein said checkpoint ID is associated with a checkpoint issued from a DLI intercept routine.
- 10. The computer system of claim 9 wherein said repositioning data is saved in said checkpoint save area by said DLI intercept routine.
- 11. The computer system of claim 7 wherein said batch application is an IMS application selected from the group consisting of a BMP batch application, a DLI batch application and a DBB batch application.
- 12. The computer system of claim 7 further comprising bypassing said repositioning of one or more databases based upon testing a restart reposition global indicator.
- 13. 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.
- 14. The article of manufacture of claim 13 wherein said repositioning of one or more databases utilizes repositioning data from a checkpoint save area returned from said DLI restart call.
- 15. The article of manufacture of claim 13 wherein said checkpoint ID is associated with a checkpoint issued from a DLI intercept routine.
- 16. The article of manufacture of claim 15 wherein said repositioning data is saved in said checkpoint save area by said DLI intercept routine.
- 17. The article of manufacture of claim 13 wherein said batch application is an IMS application selected from the group consisting of a BMP batch application, a DLI batch application and a DBB batch application.
- 18. The article of manufacture of claim 13 further comprising bypassing said repositioning of one or more databases based upon testing a restart reposition global indicator.
- 19. 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.
- 20. The method of claim 19 wherein said batch front-end routine is linked with said batch application to form said auto-restart batch application.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The commonly assigned patent application, entitled “AUTO-COMMIT PROCESSING IN AN IMS BATCH APPLICATION”, filed on Nov. 15, 2002 by Smith et al., Attorney Docket No. SVL920020081US1, U.S. application Ser. No. 10/298136, is related to this application and is incorporated by reference herein. This related patent application is hereinafter referred to as the “Auto-commit Disclosure”.