Joined: 26 Apr 2004 Posts: 4648 Location: Raleigh, NC, USA
According to the CONNECT : Direct OS/390 User's Guide, there is a program called CDWAIT (which I can only presume was aliased on your system to be called NDMWAIT instead) which places the process submission job in a swapped-out wait state until the submitted process completes. According to the guide, if the process ends with a non-zero condition code, then the CDWAIT (i.e. NDMWAIT) program ends with a completion-code value of 700. Otherwise, it ends with a zero.
If this is indeed your scenario, then you should check the Select Statistics report for your process.