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



Definitely CPYSPLF would be easier. I'm trying to do this the API way which
is the right way I guess.

I don't need the STMF part of SPL2STMF, it's just the example I found and I
thought it would be easy enough to modify it.

If the only thing I want to do is look at the spool file with the API, do I
need to do any conversion to the data retrieved?

Jack

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Yeung
Sent: Monday, April 21, 2014 12:01 PM
To: Midrange Systems Technical Discussion
Subject: Re: Spl2stmf and HPT

On Mon, Apr 21, 2014 at 9:57 AM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:
What I am trying to do is just look at the data instead of writing it
to the IFS.

I think you will be able to get something "clean" working, especially since
Scott is on the case. ;)

But if you want something quick and dirty, you could just use CPYSPLF to
dump the spooled output to a physical (not stream) file, and read that file.
(Just mentioning this because reading PFs from RPG is typically much simpler
than reading stream files.)

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