How to print a Spool File?

20 pts.
Tags:
CLLE
Display File
DSPF
Print Spool File
PRTF
Spool files
Work with Spooled Files
WRKSPLF
Hi guys, Actually i'm stuck with printing the spool file. I've done a simple Screen(DSPF), Printer File(PRTF). For example: i have a screen then press any function key, eg:F9. When pressing the F9 it will call my program that generate a report which is store in Spool File(WRKSPLF). I'm just wondering when pressing F9, i just wanted it will print the spool file from the printer. What should i do? Is there any Program need to call (CLLE) in order to do the settings? Do you have the example code? Thanks for helping. Mickey
ASKED: March 12, 2009  8:31 AM
UPDATED: March 12, 2009  12:28 PM

Answer Wiki

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

Hi,

You’ll need to make sure that your spooled file is routed to an output queue attached to a printer. You can do this by using the OVRPRTF (override printer file) command or by creating/changing your printer file with the output queue specified (CHGPRTF command).

Regards,

Martin Gilbert.

Discuss This Question:  

 
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

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