On 2/22/2013 7:26 AM, Donald Likens wrote:
In case anyone has a better idea I am documenting my solution... I see no way 
to set a break point before starting the program, so what I am doing is as 
follows:

LOAD INITPGM;
LDD INITPGM;
AT ENTRY INITPGM BEGIN;
   set break points;
   END;

     Note (these are assembler programs)

So far it seems to be working.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


Something like this might do

LDD A
QUALIFY CU A
AT stmt1 GOTO stmt2
LDD B
QUALIFY CU B
AT stmt3 GOTO stmt4

Note that if the CSECT you are trying to qualify to is in another load module, you would need to use the LM::>CU syntax for the LDD and QUALIFY CU commands.

If you really want to reference labels, I think it would be

AT LABEL label1 GOTO LABEL label2

Note that GOTO will branch to the target and then your program will run to the next breakpoint or off the end. If you want it to branch to the target and then stop, use JUMPTO.

George

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to