Is there any reason that you cannot change program A to call program B if A was sucessful,
Otherwise nornally your CL would not know if the submitted program A completes notmally. You would need to change A to do something, Updata a dataarea, send a message, etc. Then you would need to change your CL to monitor for the condition set in A before it submits B. Or change B to monitor for the condition at the beginning of the program and wait until condition is completed.