× 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.




Thanks Joe
20 dope slaps to me
must remember KISS
(Keep It Simple Stupid - me being the Stupid)



Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"If you're going through Hell, keep going" - Winston Churchill



"Joe D"
<nike@dslextreme.
com> To
Sent by: "RPG programming on the AS400 /
rpg400-l-bounces@ iSeries" <rpg400-l@xxxxxxxxxxxx>
midrange.com cc

Subject
12/05/2007 11:48 Re: Update the first 1500 records
AM that need updating


Please respond to
RPG programming
on the AS400 /
iSeries
<rpg400-l@midrang
e.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.

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.