I have the following command file that uses the ;PRINT option of the SPOOLF command.

Simply type PSPSAVE <spoolid> and it makes a copy of the SPSAVE(d) file and prints it.  The original file is retained in SPSAVE state.

USER DEFINED COMMAND FILE:  PSPSAVE.COMMANDS.SYS

PARM S1="" , dev="LP"
if NUMERIC("!S1") then
spoolf O!s1.out.hpspool;print;show;dev=!dev
else
   echo
   echo Print a spool file that is in the SPSAVE state.
   echo Directs print to DEV=LP.
   echo
   echo      PSPSAVE spoolid [out_device]
   echo
   echo Sample:
   echo          PSPSAVE 1234
   echo
   echo Choose from the current spoolfile list below:
   spoolf o@;seleq=[state="SPSAVE"];show
endif
:
 

Steve Hammond wrote:

I have a saved a spool file (it is in the ;SPSAVE format).

I want to now move that file back to the READY state, but I can't find  out how to move it back - is it ;ALTER?

HELP doesn't really help

thx
steve hammond
aamc
wash dc