Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
DDS described files and SQL defined tables and indexes are NOT identical
even though they may be used in the same way.
1. physical files and SQL tables. There minor architectonical differences.
Just try to copy invalid numeric data from a flat file into a DDS described
physical file with CPYF *NOCHK. All data is copied into the DDS described
physical file
Now try to execute the same CPYF *NOCHK with an SQL defined table. The CPYF
fails and stops with the first invalid data.
When writing into a DDS described file there is no check whether the data
is
valid or not. The validation occurs as soon as the data is read.
When writing into an SQL defined table data is checked an invalid data is
rejected. But there is no check anymore when reading from the SQL described
keyed logical file. Bun an SQL index cannot be specified in SQL statement.
An SQL index is always built over a single table or physical file. Within
logical files multiple tables can be joined and joined logical files
additionally can have a key.
with an SELECT-Statement except they cannot include an ORDER BY clause.
SQL views can be specified within the F-Specs in RPG, but because they do
not have any keys, their use is only restricted.
OPNQRYF, native I/O is executed with the SQL Query Engine.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.