× 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: STRQMQRY
  • From: "Angela Wawrzaszek(EXCH)" <wawrzaszeka@xxxxxxxxxxx>
  • Date: Tue, 25 Jan 2000 10:25:19 -0500

I am trying to create a multiple query source file that will update the same
file.  I have written qqmyqrysrc files that have 2 delete statements in them
but this is Update.

Update library/myfile set var1='J' where var2 = 'J' and var3>= 'X1' and var3
<= 'X3'.
Update library/myfile set var2='A2' where var1='J' and  var2 = 'J' and
var3>='X1' and var3<='X3' 

If I don't put the period at the end of statement 1 I get invalid token for
"update" on line 2.  With the period I get token . not valid for end of
statement.


When I did this using the delete thats all I did was put a period at the end
of each statement, can't I have multiple updates within one source file?   I
actually have 4 more lines to add to this, I just didn't want to have to
execute multiple queries.

Any help would be great!

Angela Wawrzaszek
Programmer/analyst
 <<Angela Wawrzaszek(EXCH).vcf>> 

Angela Wawrzaszek(EXCH).vcf


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.