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