|
from: Rob Berendt <rob@xxxxxxxxx>
subject: RE: CPYF blanks to zeros?
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_library',
'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
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com
As an Amazon Associate we earn from qualifying purchases.
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.