× 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.



Maybe using the Retrieve Identity of Last Spooled File Created (QSPRILSP)
API will work for you.


There is a nice writeup about it here with examples:

http://www.iseriesnetwork.com/article.cfm?id=20533
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/QSPRILSP.htm


Bryan



On Wed, May 14, 2008 at 10:14 AM, Don Cavaiani <dcavaiani@xxxxxxxxxxxxx>
wrote:

Greetings,

I run a menu step which is a CLP I created and which CALLS an
Outside_Print_Package_Program (CLP & RPG) for which I have no SOURCE CODE.

The program which loads up requests options, and may then be run
interactively or in batch.

I would prefer this to run in batch all the time, but then I need to
CPYSPLF the printer spooled output file and do some further processing. I
want to automatically retrieve and fill in the required CPYSPLF command
options, but I don't think I will know or have access to the "spooled file
number" (unless I manually look it up) when the job is submitted to batch.
Is that correct? Am I missing something simple here?

TIA
Don

Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063

"It's amazing what you can accomplish if you don't care who gets the
credit." Harry S. Truman



--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.