I need to determine if my code is being called by a multitasking CMS program (i.e., with entrypoint VMSTART) or not. It seems that it is valid to issue almost any multitasking CMS call from a program that hasn't been linked as a multitasking CMS application, except for ThreadCreate and EventTrap, so at worst I could resort to issuing a ThreadCreate and check the results, but this seems to be a pretty expensive way to do it. I've noticed that the flag NUCMTDSP in the NUCON seems to be set when a multitasking CMS app is active.
Does anyone know if there's a proper way to do this?
