I want to examine the logic of the subprogram through
BEFORE module-name. command.
I know other commands like INTERCEPT,SOURCE. But in the PDF they have mentioned that command BEFORE module-name.(Period at the end is needed to specify module level break point) can also be used for the same purpose. But if I'm trying out the same, the flow is not going inside the subprogram.
Kindly tell me whether it can be used for the same functionality Or NOT.
MOVE X to Y.
MOVE 'B' TO WW-000-PGM
CALL WW-000-PGM USING ----,---
Now if you are expediting Program A and you need to see the flow of program B even. Then once u reach the CALL statement in expeditor type SOURCE B in the command prompt. Then Keep a break point at the procedure division of B and continue your expediting.
But if you need to comeback to A again, then before going to B keep a break point after the call statement..and then say source B.
I know how to go with SOURCE command but BEFORE subprogram-name. is another command that can be used to achieve the same functionality(As stated in the manual placed in ibmmainframes.com).
My concern is if i am typing the same command i am not able to getinto the subprogram,instead its working as a normal break point.
If you know the usage of BREAK command for examining the process flow of sub program let me know.