Unfortunately there was an issue with REXX and SQL after V6R1 in certain
conditions. We created a dossier with IBM (LPAR?) over this but it could
not be fixed and so we changed our EXECSQL tool from using REXX to RPG.
This issue is in the archives, somewhere.

Le 29 mars 2012 23:34, John Yeung <gallium.arsenide@xxxxxxxxx> a écrit :

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.

This thread ...


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

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