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


  • Subject: Re: Delphi DB2 Access via ODBC
  • From: Jromeh <Jromeh@xxxxxxx>
  • Date: Tue, 13 Jan 1998 01:15:43 EST
  • Organization: AOL (http://www.aol.com)

Dean replied to Bleddyn...

>> I'm trying to use the 'LIKE' keyword in my client queries and get the 
>>  following error 'SQL0104 Token ( was not valid ..'. My query is something 
>>  like 'SELECT * FROM M.COMPANIES WHERE NAME LIKE '%TEST%'. I am running 
>>  client access ODBC drivers and the AS400 is on V4R1M0. We are developing 
>>  with Delphi 3.

>I'm guessing that your file name is the problem.  SQL uses naming conventions
>similar to the /38, where a period (.) separates library
>(directory/library/volume) names from file names.  Try a CRTDUPOBJ from
>M.COMPANIES into something called just COMPANIES with DATA(*YES).  That
>_should_ correct your problem...

Did it? Why would this statement cause SQL to complain about parens? SQL 
can use that sort of naming, but on the 400 it can also use our trusty 
slash. What did M. represent in the first place? Is this something 
related to the ODBC?

Just interested,

Jerome

/* -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- */
/* Jerome Hughes                        jromeh@aol.com                 */
/* InterPro Consulting Services         www.interproinc.com            */ 
/* Rosemont IL USA                      these are my own opinions only */
/* OMNI User Communications Director    www.omniuser.org               */
/* -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- -=- */
We try to solve the problem by rushing through the design process so that
enough time is left at the end of the project to uncover the errors that
were made because we rushed through the design process. -- Glenford Myers


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.