If a process is taking a program dump, then this fact is reflected in the Stack State display of the Y (Status Interrogate) system command. The following example shows the output from the Y command for a process that is taking a dump:
Status of Task 6408/6513 at 16:39:09 Program name: *OBJECT/ED ON SYS00 Priority: 50 Origination: OCDWH_1/CANDE/2 (LSN 295) MCS: SYSTEM/CANDE Usercode: DEBS Chargecode: 6893 Stack State: Waiting on an event, Programdumping Display: ED:OPERATOR DSED @ (47312200)
This command can be useful, for example, if you have entered a DS (Discontinue) system command for a process, and the process seems to be taking a long time to terminate. By entering the Y command, you can determine whether the delay is caused by a program dump. You can then enter a second DS command if you wish to discontinue the program dump.

