×
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.
FWIW - V5R4 here too, all latest PTFs, and the FETCH is not allowed in the
Subselect.
Although I do not see a way to do this in a single statement, you can
definitely do it in two. No need to write a program or even a function.
Step one, do a simple select for the RRNs of the first 1500 rows only - to
an outfile.
Step two, do your update with a simple subselect on the outfile from Step
One. No Fetch limit needed because the outfile only has 1500 records.
JD
----- Original Message -----
From: "Alan Shore" <AlanShore@xxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, December 05, 2007 8:15 AM
Subject: Re: Update the first 1500 records that need updating
Interesting.
so are we.
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.