How to Create and Export a Spool File from AS/400 to a Windows PC
Capturing the spool file may prove useful in the analysis and troubleshooting of print errors and anomalies in AS400 and other system environments.
Steps to capture spool file
When to use
You may be requested to provide a SAVF file for diagnostic purposes. This file must be captured if a valid network trace is not possible, or if the problem is observed when printing from the host only.
What you will need
To do this, enter the command crtoutq outq <library_name/outq_name> to create the OUTQ.
Step 2: Store spool file(s) in new 'OUTQ'
To do this, use the command wrtoutq <name of source OUTQ>.
Tip: Press F11 to display the parameter shortnames for easier searching.
Repeat this process for each of the spool files in question.
Step 3: Create the save file 'SAVF'
Tip: Before proceeding, you can make sure your OUTQ contains the correct spool files by using the workout <name of OUTQ> command. Review the list of spool files and then proceed to this next step.
NOTE: Make sure that any spool files containing non-standard custom files are also exported along with your spool files. This may include files such as user-defined objects or libraries
|Save Object (SAVOBJ)|
|1. OUTQ name from Step 2 above.||Objects......||OBJ||TRANSIT (Example)|
|2. Current Library where OUTQ is stored||Library.......||LIB||QGPL (Example)|
|4. *OUTQ||Object type....||OBJTYPE||*OUTQ|
5. Name of SAVF and
6. Target Release
*CURRENT is the default for version iSeries V6R1; if a higher version is at issue, enter V6R1 as the target.
|Continued.... Press F10 to display the remaining parameters and then press PAGE DOWN to view the next screen.|
|7. *ALL to capture all spooled files inside the OUTQ||Spool file data....||SPLFDTA||*ALL|
Why? To make sure that the spool file is successfully stored in the SAVF.
To do this:
IMPORTANT! If this list is empty, you will need to repeat Step 3.
Step 5: Export the 'SAVF' to a Windows PC
Final step and additional information
If you have successfully exported the SAVF file onto the PC, you can now e-mail the exported SAVF file to Lexmark Technical Support for further evaluation.
Click here for additional escalation requirements.
Click here for the English Only (.PDF) version of this procedure.
Click here for a sample illustration of the complete procedure. Click on the image to enlarge it.
Still Need Help?
If you require additional assistance, please see Contact information. NOTE: When calling for support, you will need your printer model/machine type and serial number (SN). Please be near the products described in this article to expedite the support process and reduce call-back situations.