I cannot redesign the program because the customer decide to do it by this method.
Main program (Cover) submits chain BJobs and needs to know about finish each one.
Result of the BJobs is stored in cluster INDX like table.
Main program is cover only for long time required program (Slave program).
The Slave program interrupts to time out dump in dialog mode.
Slave cannot be resigned - it is the decision of the customer.
After finish all Bjobs Cover reads INDX and perform GRID.
So nevertheless theoretical question:
Does exist an approach then BJob called program calls a method or subroutine in calling (dialog) program?