× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 09-May-2014 10:24 -0500, Roger Harman wrote:

Does anyone know of a way to retrieve the file name that the system
assigns when you create a PDF via OVRPRTF and only specify a path -
not a full name?

It uses the spool file name and a unique 6-character add-on - ex.
QSYSPRTa1b2c3.PDF

There is no message to retrieve. I may have to generate my own
unique names but just wondering if we can let the OS (V6R1) do it and
then retrieve it.


Regardless the output is not actually a Spool File, I half expected that the Retrieve Identity of Last Spooled File Created (QSPRILSP) API might have been updated to include that information when a Stream File (STMF) was the effect for the spooling request per both the To Stream File (TOSTMF) having named a Path and the Workstation Customizing Object (WSCST) specified *PDF to redirect the output "transformed to Portable Document Format (PDF) before it is written into a stream file" having been specified on a prior Override with Printer File (OVRPRTF). That API seems unchanged since its origin:
<http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/QSPRILSP.htm>.

While my reply is not directly helpful, I figure there may be some value in having my posting my thoughts.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.