I haven’t encountered this situation, but I would ask are you sure the subroutine is being executed? Could the program be silently failing for some other reason? You can use standard green-screen debug (STRDBG) on CGI programs if you can determine the job ID running your CGI requests. Also, the dump will likely go to an outq associated with the CGI server job, or possibly to outq QEZJOBLOG. You may want to look in those places for dump output. Good luck!