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



The EXPJRNE command is worth looking at. You specify a file and it gives you most (probably all) selections options available on the DSPJRN command. And the output shows the columns in the file being journaled,
It is freeware. See: http://www.tools400.de/English/Freeware/Utilities/utilities.html
However, it does create an output file, which is really easy to query with SQL.

But...
The author (Thomas Raddatz) is also the author of the iSphere plugin for RDi. It has a Journal Explorer tab, but it interprets a file created by a DSPJRN execution. So you still have the issue of IO.
http://isphere.sourceforge.net/help/html/journalexplorer/journalexplorer.html

I don't know if Thomas would consider a request to create a UDF. He is normally very open to requests, but he also has a real job.

FWIW: I don't know much you expect to use the journal entries, but unless you have massive amounts of data to process, I'm not sure it will make much of an impact.

But if it is, then a UDTF may be the answer, and Scott Klement's article will be useful.

Sam

On 5/1/2019 2:07 PM, Darren Strong wrote:
I'm not returning a single row, and, the bigger issue is that the columns vary for every journal file you parse. It looks to me like you have to define the result set up front for a UDTF, and the whole point of this issue, and why I suspect IBM has avoided this thing, is that its so dynamic.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.