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



With RUNSQLSTM, put the SQL statements in a file (usually source member).
Delimit each statement with a semicolon. Prompt RUNSQLSTM, fill in the
parms, and away you go.

On Mon, Jan 4, 2016 at 10:07 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

yes that's it. would like to see how to do as RUNSQLSTM later.

On Mon, Jan 4, 2016 at 9:51 AM, Michael Ryan <michaelrtr@xxxxxxxxx> wrote:

STRSQL is interactive. Do the first create, then the second.

On Mon, Jan 4, 2016 at 9:43 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

I removed all the semi colons. But now there is a different error. on
the
second create, the cursor sits.

Keyword CREATE not expected. Valid tokens: <END-OF-STATEMENT>.
CREATE TABLE mylib.POSITION1
(
FIRSTPOSITION VARCHAR(10),
FIRSTFLAG INT
)

CREATE TABLE mylib.POSITION2
(

On Mon, Jan 4, 2016 at 9:41 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

strsql.

On Mon, Jan 4, 2016 at 9:36 AM, Michael Ryan <michaelrtr@xxxxxxxxx>
wrote:

How are you doing this? If through STRSQL (interactive), don't add
the
semicolon. If it's through RUNSQLSTM, you need the semicolon.

On Mon, Jan 4, 2016 at 9:33 AM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

HI THis is putting the cursor at the last line (there are many
more
lines
here on ');' any ideas why ?

Token ; was not valid. Valid tokens: <END-OF-STATEMENT>.
CREATE TABLE Mylib.POSITION1
(
FIRSTPOSITION VARCHAR(10),
FIRSTFLAG INT
);
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.