0 pts.
 Spooled files cannot be displayed
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!

Software/Hardware used:
ASKED: July 8, 2005  8:55 AM
UPDATED: July 12, 2005  9:24 AM

Answer Wiki:
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
Last Wiki Answer Submitted:  July 8, 2005  3:39 pm  by  Bradskk   0 pts.
All Answer Wiki Contributors:  Bradskk   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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 pts.

 

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 pts.