|
----- Message from Craig Richards <craig@xxxxxxxxxxxxxxxx> on Fri,<rpg400-l@xxxxxxxxxxxx>
23 Feb 2018 17:33:59 +0000 -----
To:
"RPG programming on the IBM i (AS/400 and iSeries)"
away
Subject:
Re: On Triggers and library lists.
Hi Charles,
Yes I usually prefer that method too but not all files are RPG access.
In particular there is one with a CLOB on.
I don't believe you can open files with CLOBs in native RPG.
Also the program is building JSON objects using the DB2 JSON_OBJECT
publishing function from data on the trigger after image for insert into
the CLOB so that all needs to be SQL.
But I agree, I have a particular preference for ExtFile when I can get
with it.wrote:
best regards,
Craig
On 23 February 2018 at 17:24, Charles Wilt <charles.wilt@xxxxxxxxx>
I wouldn't use an override....
Instead, use the EXTFILE() keyword on the f-spec..
Charles
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.