I am aware of the WSCST but this is a package generated spoolfile so adding an OVRPRTF is not an option.
Thanks anyhow.
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Waterbury via MIDRANGE-L
Sent: Friday, January 2, 2026 1:12 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Cc: Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
Subject: Re: SPOOLED_FILE_DATA table function
John,
(replying again with text only for better formatting.)
It is not a separate command. You just use CPYSPLF like this:
CPYSPLF FILE(SPOOLFILE) TOFILE(*TOSTMF) + TOSTMF('/your/IFS/directory/spoolfile.pdf') WSCST(*PDF) You can also avoid this extra step and issue an OVRSPLF like this, before calling the program that produces the spool file, e.g.:
OVRPRTF FILE(splfname) + TOSTMF('/your/IFS/directory/spoolfile.pdf') +
WSCST(*PDF)
This directly creates the PDF output file and does not leave a spool file in any *OUTQ.
Hope that helps,
Mark S. Waterbury
On Friday, January 2, 2026 at 12:58:10 PM EST, <smith5646midrange@xxxxxxxxx> wrote:
So TS1 has a function that will copy a spoolfile from an outq and generate a .pdf in the IFS? Do you know the command because I am unaware of it.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.