×
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.
I often make smaller versions of a file for testing.
Using CPYF, it is easy as follows:
CPYF FROMFILE(FILEIN) TOFILE(FILEOUT) NBRRCDS(100)
I would like to do the equivalent in SQL.
Here is my lame attempt and the returned error.
Is this possible to accomplish with SQL?
create table qtemp/sqltemp1 as (
(select rrn(a) as XCM_RRN
from client a where count(*) < 100) with data')
Use of function COUNT not valid. <-----------OS error returned
I would prefer NOT to use RRN or a key as this would change for each file (whereas NBRRCDS(100) in CPYF will work for any file with no changes).
Thanks
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.