Patent ID: 6934949

Claim:
A method for performing on a computer system the execution of an Information Management System (IMS) batch application originally coded to execute as a DLI/DBB batch application, wherein said IMS batch application executes as either said Data Language One/Database Management Batch (DLI/DBB) batch application or as a Batch Message Processing batch application, said method comprising the steps of: intercepting a transfer of control to said IMS batch application, wherein said transfer of control includes a list of Program Communication Block (PCB) pointers; determining if said IMS batch application is invoked as said Batch Message Processing batch application, by loading an IMS Parameter Root Anchor Module, obtaining a location of a Program Specification Table using a first predetermined offset from the beginning of the IMS Parameter Root Anchor Module, and interrogating a flag at a second predetermined offset within the Program Specification Table; forming a modified list of PCB pointers from said list of PCB pointers if said IMS batch application is invoked as said Batch Message Processing batch application; and completing said transfer of control to said IMS batch application wherein said completion of said transfer of control includes passing either said modified list of PCB pointers if said IMS batch application is invoked as said Batch Message Processing batch application or passing said list of PCB pointers if said IMS batch application is invoked as said DLI/DBB batch application.