How to print a Spool File?
20 pts.
0
Q:
How to print a Spool File?
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: Mar 12 2009  8:31 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
23625 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button

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.
Last Answered: Mar 12 2009  10:48 AM GMT by Gilly400   23625 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0