Ask the Expert

Changing the status of a spool file

How can I change the status of a spool file from ready (rdy) to saved (sav) without physical printing?
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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: