Spooled files cannot be displayed

pts.
Tags:
RPG
When I try to display the spooled files, I get the "File no longer in the system" prompt.I cannot move the file, etc...I know my CL and RPGLE have to be somewhat in sync or I would not be getting the spooled files to even show up in the queue. I only have 1 year under my belt...so some troubleshooting understanding is a bit beyond my current knowledge. Thanks in andvance!

Answer Wiki

Thanks. We'll let you know when a new response is added.

Without seeing your CL programs I woukd have to make the assumption that your spool files have already printed. If you need them for some other purpose then you must make sure that you either
SAVE the spool file
HOLD the spool file
or HOLD the OUTQ in your CL
If you do not do an override in the CL then the default is to print and delete

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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
  • Graeme
    If you could give an idea of what your programs are doing and where the error is occuring it would probably be a bit easier to help with this one. Things like how you are retrieving the spool file attributes (RTVSPLFA is a TAA tools command, for example), what parameters you are using for the DSPSLF command (sometimes the spool file number can be decieving in that command), etc. You don't need to publish the code, just give an idea of where you are filling the command parameters from. Regards Graeme
    0 pointsBadges:
    report
  • RolandT
    If your program is not writing any data to the spool file, the system will delete it when the program finishes. Try using strisdbg or strdbg to watch the program execute.
    0 pointsBadges:
    report

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following