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



Hi David,

This works on our system...

SELECT DIGITS(myfield) || '_' || DIGITS(myotherfield) FROM
mytable
or
SELECT DIGITS(myfield) concat '_' concat DIGITS(myotherfield) FROM
mytable

Rest Begards
Wim



David FOXWELL <David.FOXWELL@xxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
18/06/2009 09:26
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
SQL error causes all batch jobs to fail






Help!!

Just arrived to find that all our nightly jobs that used a particular
application ended in error when they tried to execute some SQL
instructions.

The program prepares a cursor from a request that is calculated, of this
type :

SELECT DIGITS(myfield)!!'_'DIGITS(myotherfield) FROM mytable

Each program gave the same error during preparation of the SQL statement :
Elément syntaxique ! n'est pas correct. Eléments possibles : + - AS
(hope the translation of that is obvious).

In an SQL greenscreen session, if I type the same with | instead of !, I
get the same error.

Now we have rerun manually one of the smaller jobs that ended in error and
it runs fine.

We can't see any changes that have been made to cause the error.

Could something in the system cause the job to interpret differently the
SQL syntax at night ( submitted automatically ) to the one we just ran
manually?

We have a load of jobs to rerun, and we don't know if they'll run OK
tonight or not.

Anyone got any clues as to what might have happened?

Thanks.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.