CALL "C$PROGINSTACK" USING progName GIVING returnCode |
progName | PIC X(n) | Specifies the program to check. |
-1 | wrong parameters. |
0 | program not in the stack. |
1 | program found in the stack. |
call "c$proginstack" using "computetax" if return-code not = 1 display message "ComputeTax is not in the stack" end-if |