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

Instead of DDL can you make your on-the-fly file with DDS?

Have you played with this?
call qsys2.display_journal_entry_info(2, --not sure what 2 means
'journal name',
Sequence_number, -- SEQUENCE_NUMBER
'receiver library', -- RECEIVER_LIBRARY
'receiver name', -- RECEIVER_NAME
'journal code (aka PT, DL, etc)' -- JOURNAL_CODE
Basically is busts up that journal entry data as if it was passed into an external data structure.

Also using RPG to move it into an external data structure is another option. Even if you only wrap the rpg with a UDTF to return the busted out columns. Scott has a sample RPG to UDTF.

Rob Berendt

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