I've a service program that accepts program-name as one of the inputparameters. When this parameter is passed in by the caller, it will
need to determine if the passed in Program Name is actually in the currentcall stack. There are two ways that I know of that can
determine if a program is on the call stack, one is using the QWVRCSTK apito get the current call stack; Another way is use the
QMHSNDPM+QMHRCVPM to get the call stack one level at a time. Does anybodyknow which will perform better, or is there another way to
determine if a program is on the current call stack?