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



Pete...

        I haven't written the specific RPG program to do this but I have
a number of programs to perform this type of functionality...

Assuming you are green on API calls and haven't had success finding the
RPG program you seek. Consider using the WRKSPLF OUTPUT(*PRINT) command
to get the information. Then use CPYSPLF to port the output to a
physical file in QTEMP. Once that is done, you should be able to use
OVRDBF and open the file with RPG, parse the contents and load the
selection display. 

Hth,
Ken Slaugh (707) 795-1512 x118 
Chouinard & Myhre, Inc. 
http://www.cm-inc.com/ 



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren
Sent: Thursday, January 26, 2006 3:03 PM
To: RPG Midrange Discussion
Subject: Prompting for Spool Files

I have collected several utilities that, in one way or another, work
with spool files.  None of them, however, have a "prompt" capability
where you can hit the F4 key and select from a list of spool files by
user or outq.

Before I write my own, does anybody have an RPG program that does this
already? Some of these utilities are great but having to know the Job
Name, User, Number and Spool file number is a pain.  I am looking for a
program that I can call that will list/page through spool files and then
will retrieve the Job Name, User ID, Job Number and Spool File number.

Even something close would be a help.

Pete Helgren

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.