You can't directly change the status of a spool file. The spool file status is set by the system based on some event taking place. For example, you could ask the system to hold a spool file by using Option 3 (HLDSPLF) from the Work with Output Queue display. You didn't directly change the spool file status from RDY to HLD, you "held" the spool file and the system changed the status from RDY to *HLD (HLD).
The same concept holds true for status SAV. The system changes the status of a spool file from RDY to SAV after it has been written by a writer job with the SAVE(*YES) attribute set.
SAV is a status indicator for a spool file, showing that the file was written and then held. Therefore, you can't change it directly.
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: tips, tutorials and more.
Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.
Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.
Check out this Search400.com Featured Topic: Top 10 expert tips for OS/400
This was first published in March 2004