A PL/I program with a programmed breakpoint must be coded to define the entry point as passing parameters in Assembler fashion, as shown next:
DCL PBP ENTRY OPTIONS(ASSEMBLER);
Once this is done, code the calls in the usual manner.
Example
WRITE_RESPONSE:
RESPONSE = ERROR CODE;
CALL PBP ('WRITE_RESPONSE',RESPONSE,ADDR(REC_SIZE));
At this programmed breakpoint, the breakpoint display shows the following data areas:
Note: If you do not include parameters in the CALL statement, a programmed breakpoint still occurs but no data is displayed.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|