AS400 Mid Range/Call Stack

Advertisement


Question
Hi, I would like to know if there is a way to retrieve a list of all programs called during a certain process without debugging, checking the call stack everytime or changing all programs to write a record everytime it enters it. Something like writing a record away everytime the call stack is updated.

Answer
From V5R1 forward, IBM has offered an API called QWRCSTK that allows you to retrieve the call stack for a program.  For more information on this, try the link below:

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/qwvr...

- Laird

AS400 Mid Range

All Answers


Answers by Expert:


Ask Experts

Volunteer


Concise Systems/Laird Scranton

Expertise

General AS/400, RPG/400, SDA and CL programming questions. AS/400 performance tuning.

Experience


Past/Present clients
CB Sportswear
Coca-Cola of New York
Encore Paper Company
Golub Corporation
HBO Home Video
Imperial Pools
Kaiser Permanente of NE New York
Mallinckrodt Medical
Marigold Foods
Manpower & Associates
National Datacomputers
New York State Easter Seals Society
New York State Food Merchants Association
Pepsi-Cola Allied Bottlers
Petricca Construction
Taconic Telephone Corporation
TOMRA Recycling
Unistress Corporation

©2012 About.com, a part of The New York Times Company. All rights reserved.