In case anyone's interested, I raised this with IBM. Their response was that testing NUCMTDSP wouldn't work, the only way possible being to run the CMS control blocks. Unfortunately, these control blocks have the note "This information is NOT intended to be used as Programming Interfaces of z/VM"
... which makes me a little uneasy about doing it this way. I guess it's all there is, though. ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Gillis, Mark Sent: Friday, 29 June 2007 11:07 PM To: [email protected] Subject: How to determine if running as a multitasking CMS app 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?
