Ewa Bozejewicz ([log in to unmask]) wrote: : Currently I have one file in the spooler in DELPND state. : If I try : SPOOLF O@;SELEQ=[STATE=DELPND];SHOW : file changes the status to PRINT. : Than if I try to delete it - it goes into DELPND state again. : Executing : SPOOLF O@;SELEQ=[STATE=DELPND];DELETE : changes nothing. : Do you have any idea how to get rid of this file without rebooting ? : ewula Find out why it can't print. If the first SPOOLF changes the file's state from DELPND to PRINT, this indicates that a spooler is trying to print the file. The SPOOLF ;DELETE command that put the file in DELPND state also sends a message to the spooler process printing the file telling it to stop printing the file and close it (at which time the DELPND would cause the file system to delete it). But if the spooler process is blocked on I/O, it will not receive this message, and the file stays in DELPND. Your SPOOLF O@;SELEQ=[STATE=DELPND];SHOW then defaults to ;ALTER, which cancels the DELPND and restores whatever state the file had been in, in this case PRINT. So you should find out why this file's spooler cannot complete its I/O -- device off line, out of paper, dialup connection broken, etc., and fix that. Or, you can issue ABORTIO commands to that device until the I/O is unblocked and the spooler stops. If the file is in DELPND state when that happens, it will be deleted. If the file is in PRINT state, it will go back to READY state when the spooler terminates, and a normal SPOOLF ;DELETE should get rid of it. -Larry "MPE/iX Spoolers 'R' Us" Byler-