Agreed for the most part.

Just something I was curious about. If there was functionality for this
(like retrieving the identity column value on an SQL insert), I can see a
benefit to that.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Richard Schoen
Sent: Friday, May 09, 2014 8:36 AM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Native PDF Creation - System Assigned File Name

Why wouldn't you just specify the file name ?

Specifying a generic path only seems to be not the right way to do it.

Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Email: richard@xxxxxxxxxxxxxxx
Web Site:
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

message: 7
date: Fri, 9 May 2014 08:24:24 -0700
from: Roger Harman <roger_harman@xxxxxxxxxxx>
subject: Native PDF Creation - System Assigned File Name

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.

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.


Roger Harman

COMMON Certified Application Developer ? ILE RPG on IBM I on Power

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page