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



Just a correction:
xl sheet contains 6fields

futcod, descr, client,optcod, newoptcod & reason(this field is nt needed to be included)...





Warm Regards,
JoeP





From: "Joseph Pascoguin" <joe.pascoguin@xxxxxxxxxxx>
Reply-To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx
Subject: sql question
Date: Tue, 03 Oct 2006 02:24:23 +0800

Hi,

I ve a file in which futcod, descr, client & optcod are few of the fields.
I 've an xl sheet from the client to replace optcod values with new optcod
values.
xl sheet contains 5 columns futcod, descr, client &optcod

I did simple sql

UPDATE file SET optcod='OPTWS' WHERE futcod='FUT01'
AND  Client='GOLDMAN' and optcod='INXMO'

Since the number of entries(around 50) in the xl sheet are less, I opted for
this simple manual SQL.

How  to handle this differently by using a program when the list is big or
some times we get 3 to 4 xl sheets from the client(optcod values changes
from time to time!)?


Warm Regards,
JoeP

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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.