|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Those fields only exist in OEP20 not OEP20E, as you asked! -----Original Message----- From: steven.donnellan@simonjersey.com [mailto:steven.donnellan@simonjersey.com] Sent: Tuesday, November 13, 2001 11:39 AM To: jbausers-l@midrange.com Subject: RE: JBA ML - SQL This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] No, short sighted! The fields are OORD20 and BOPP20 Steven Donnellan AS/400 Systems Manager IBM Certified Specialist - AS/400 Professional Operator Simon Jersey Ltd http://www.simonjersey.com jroesch@plastecheng.com Sent by: jbausers-l-admin@MIDRANGE.COM 13/11/01 16:39 Please respond to jbausers-l To: jbausers-l@midrange.com cc: Subject: RE: JBA ML - SQL This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Caveat Emptor on SQL... Test Output... SELECT * FROM OSLD1F3/OEP20E, OSLSLF3/SLP05 WHERE CONO20=CONO05 AND CUSN20=CUSN05 AND DSEQ20=DSEQ05 Update records (yes there different) UPDATE OSLD1F3/OEP20E SET OORD20=100, BORD20=0 WHERE EXISTS (SELECT * FROM OSLSLF3/SLP05 WHERE CONO20=CONO05 AND CUSN20=CUSN05 AND DSEQ20=DSEQ05) Fields "OORD20 & BORD20" do not exist in OSLD1F3/OEP20E. Are you moded? ALLWAYS TEST FIRST and MAKE A BACKUP. Good Luck and your welcome. -----Original Message----- From: steven.donnellan@simonjersey.com [mailto:steven.donnellan@simonjersey.com] Sent: Tuesday, November 13, 2001 11:18 AM To: midrange-l@midrange.com; jbausers-l@midrange.com Subject: JBA ML - SQL This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] We have 2 files, a customer details file (fields ending in 05) and a customer attributes files (fields ending in 20). (To readers using JBA, I'm using SLP05 and OEP20E.) The join between the customers will be fields called CONO05/20, CUSN05/20 and DSEQ05/20 I would like an SQL statement to the effect of UPDATE OEP20E SET OORD20=100 BORD20=0 WHERE CGP105 =008 CONO05=CONO20 CUSN05=CUSN20 DSEQ05=DSEQ20 OK, what I REALLY need is an SQL course, but can someone help me? Steven Donnellan AS/400 Systems Manager IBM Certified Specialist - AS/400 Professional Operator Simon Jersey Ltd http://www.simonjersey.com ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** -- _______________________________________________ This is the GEAC/JBA System 21 Users (JBAUSERS-L) mailing list To post a message email: JBAUSERS-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/jbausers-l or email: JBAUSERS-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/jbausers-l. _______________________________________________ This is the GEAC/JBA System 21 Users (JBAUSERS-L) mailing list To post a message email: JBAUSERS-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/jbausers-l or email: JBAUSERS-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/jbausers-l. -- _______________________________________________ This is the GEAC/JBA System 21 Users (JBAUSERS-L) mailing list To post a message email: JBAUSERS-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/jbausers-l or email: JBAUSERS-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/jbausers-l.
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.