Has anyone suggested STRQM and STRQMQRY? You can pass parameters in the
STRQMQRY command.


CHGVAR &LIB2 ('''' *tcat &LIB *tcat '''')
CHGVAR &FIL2 ('''' *tcat &FIL *tcat '''')

Just a thought.

On Thu, Mar 29, 2012 at 5:43 PM, Vern Hamberg <vhamberg@xxxxxxxxxxx> wrote:

And REXX can do SQL embedded.

On 3/29/2012 4:34 PM, John Yeung wrote:
On Thu, Mar 29, 2012 at 11:57 AM, Stone, Joel<Joel.Stone@xxxxxxxxxx>
Just curious if there was a better way of doing SQL
in CL. It is a nightmare trying to get all the quotes,
double quotes, + CL continuations, etc just right.

Nothing to do with the DOCSQL command, it is the
CL parser that is so cumbersome.
This is going to sound crazy, but have you thought about using REXX?
When it comes to string-handling, it is tough to beat. And its
integration with CL is unparalleled. REXX is underused and
underappreciated (mainly due to being underexposed, I think). It's
just about perfect for this task.

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


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.