gtps1m2h | System Macros |
Use this system macro to activate or deactivate C function trace for the specified entry control block (ECB).
Format
|
See the TPF Program Development Support Reference for more information about C function trace.
Entry Requirements
Return Conditions
An error indication code is returned in register 15 when the ECB address in the register specified by the ECB parameter is not a valid system virtual address (SVA) ECB address.
At the completion of the macro, C function trace hook settings have been changed.
A trace table entry is created on entry to a C function after the trace is started.
A trace table entry is not created on entry to a C function.
A trace table entry is created on exit from a C function.
A trace table entry is not created on exit from a C function.
A trace table entry is created for the breakpoint when the breakpoint instruction is invoked after the trace is started.
The program entry breakpoint trace hook instruction and the program exit breakpoint trace hook instruction for the specified ECB are not changed by ENATC OTHERS=ON. All other trace hook instructions for the specified ECB are changed.
A trace table entry is not created on the invocation of any of the other breakpoints.
The program entry breakpoint trace hook instruction and the program exit breakpoint trace hook instruction for the specified ECB are not changed by ENATC OTHERS=OFF. All other trace hook instructions for the specified ECB are changed.
The program entry breakpoint trace hook instruction and the program exit breakpoint trace hook instruction for the specified ECB are not changed by ENATC OTHERS=SAME.
Programming Considerations
You should code OTHERS=ON or OTHERS=OFF rather than OTHERS=SAME because OTHERS=SAME is dependent on inherited conditions while OTHERS=ON and OTHERS=OFF are independent of inherited conditions.
For example:
Examples
This invocation:
This invocation:
This invocation: