I know legacy DDS PF's performed validation on read, as opposed to DDL tables that validate on write (IMO the biggest reason to exterminate DDS).
________________________________
From: Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
Sent: Friday, January 12, 2018 3:04 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: [EXTERNAL] Re: detecting "bad data" using an sql statement
Hey Justin
There are all manner of ways for data to be put into a table and be
corrupt - I can think of some option on CPYF that would do it.
So it is not just native RPG I/o that can put data into a table, or SQL
INSERT or UPDATE - there are other mechanisms.
There IS a difference in the timing of when this is checked, a
difference between SQL and RPG.
Cheers
Vern
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.