ILF (Integrated Language Facility)
How to get the name of the Parent Process.
There is an internal APPX subroutine which can be used to retrieve the name of the parent process to the current process.
GOSUB --- GET PARENT PROCESS ... then check the values of: 0AD WORK PROC TYPE 0AD WORK PROC NAM 0AD WORK AP