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



It's even a little trickier than that:

If your cursor is on the last line of your SQL, and is postioned AFTER the closing semicolon, it will execute the NEXT statement, not the one on the line where the cursor is. So basically iNav considers a statement to be everything between two semicolons, including any white space. I've been caught by this a number of times.

Joe


David,

Please be aware that there are several options when you execute a script. As
per V5R4:

CTRL+Y - Only selected (current) statement.
CTRL+T - From selected (current) statement and then, subsequent staments.
CTRL+R - All statements.

So, even if you have several statements in your script, CTRL+Y would execute
only the current one (where the cursor is).

HTH,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Mon, Jan 31, 2011 at 8:53 AM, David FOXWELL<David.FOXWELL@xxxxxxxxx>wrote:

A warning to all who have not yet had this :

Place your cursor in the sql script you want to execute.
Select execute the selection. After execution, if there is another script,
it is automatically selected, so you have to be careful. Is there a way of
illiminating this behaviour?

But worse, ctrl z undoes the last change in the script as you would
expect... ctrl y does not redo as you might expect.. It executes the
selection!!!!!




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.