×
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.
Add the following to the SELECT:
FETCH FIRST 12 ROWS ONLY
For context, from the earlier message, that means:
QSH CMD('db2 "select * from lib.file FETCH FIRST 12 ROWS ONLY"')
FWiW: The db2 facility has been noted previously on the list and on
USENET; e.g. an INSERT versus a SELECT is noted here:
http://archive.midrange.com/midrange-l/200610/msg00886.html
Note: AFaIK the db2 function\utility in qshell exists only to support
some operating system code; i.e. it probably should not be expected to
suffice generally for any SQL statement nor general report writing. I
have not looked for any documentation; there may be a statement of what
should be expected to function and how it should function. If not
documented, then IMO it is best to assume it is effectively unsupported;
albeit I expect that development would likely put some effort into
correcting something that /worked/ previously, but not with priority.
Regards, Chuck
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.