There are a large number of APIs built into the operating system that provide rich functionality. I recommend using the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/aplist.htm">QWVRCSTK</a> API for this. It looks like it will give you exactly what you're needing.
CWC
************************
Last Wiki Answer Submitted: December 15, 2009 2:52 pm by Cwc4,275 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
There is a series of articles I wrote a while back that happen to use this API. Starting here select Publications, then RPG, and finally the articles listed under Using Retrieve APIs. There are three articles all of which use QWVRCSTK.
Hi,
I’ve written an article about call stacks a while ago:
http://systeminetwork.com/article/harvest-call-stack-information
it will help, I hope!
Hi RVP400,
I suppose that is a very important article, due it can be read by ProVIP members of the System i Network only
YuVa47
There is a series of articles I wrote a while back that happen to use this API. Starting here select Publications, then RPG, and finally the articles listed under Using Retrieve APIs. There are three articles all of which use QWVRCSTK.
Bruce Vining
YuVa47,