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

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact