Lets say I have a program A, which calls program B and program B calls C.
What would happen in the following scenarios:
1) CANCEL pgm C after the call to pgm C from pgm B.
2) CANCEL pgm A after the call to pgm C from pgm B.
3) CANCEL pgm D which is not in the call flow
4) CANCEL pgm C once again after the CANCEL in 1.
"; ; ; ;
The following article may be useful for answering your queries
http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/evfeb4ls83.htm