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.