Thursday, December 8, 2011

CICS : How to debug non-terminal, MQ triggered programs



If you want to debug programs which are started by other transactions using START command or programs triggered by MQ, then what you can do is, as usual put break points in the program. Then go to the TRAP SUMMARY, put asterik under all the columns and put your program name under the "PROGRAM" column. Now press clear key to come out of the XPED session. When the program is started in the background, the XPED will trap that program and display you the XPED DEBUG screen.


================================================================================
---------------------- XPEDITER/CICS - TRAP SUMMARY (1.6) -----------------R3AD
COMMAND ===> SCROLL ===> CSR
PROGRAM: MODULE:
ENTRY 000001
LINE COMMANDS: A (After) B (Before) C (Copy) D (Delete) I (Insert) M (Move)
CMD USERID NETNAME TERM TRAN PROGRAM TRAP ABEND
...................... TRAP CONDITION .......................
--------------------------------------------------------------------
_ ******** ******** **** **** TESTPGM  NO
>


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.