If you have the command STRSQL, supplied with 57##ST1, you can use that.

If you have no money you can use the free tool supplied with iNav called
"Run SQL Scripts". You do not need System i Access for Windows licensing.
They give you iNav for free.

You could paste that line into a source member and use the free, supplied
with the os command, CRTQMQRY to "compile" it and then use STRQMQRY to run
it.

You could figure out the logic, and step through several screens and
duplicate the effort in Query/400.

If you have 57##ST1 you can use the command STRQM and pick SQL over the
prompted mode.

There's a bazillion versions of freebie 5250 based tools out there to run
simple sql commands from the command line. Suggesting one over the other
often starts a holy war. I sometimes use an ancient one called RUNSQL
that I got out of a magazine a decade or two ago.

I just find pasting the sql into an email reply a lot easier than trying
to step through a bunch of screens. Sort of like trying to tell someone
how to use a command is often easier then trying to step them through all
the steps in iNav to do the same thing. iNav is a great tool, but telling
you a command is easier than "click this, click that, pull down this,
etc".

Rob Berendt

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.