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



Static SQL
Parametrized Dynamic SQL

Our preferred method for both is embedding in RPGLE.

However, a static statement using something like your DOCSQL would be
allowed. As would a static SQL statement in a source file (though I'd
be hard pressed to allow that:) ) A Query Manger query with or
without parameters would be fine.

Charles

On Thu, Mar 29, 2012 at 10:13 AM, Stone, Joel <Joel.Stone@xxxxxxxxxx> wrote:
Just curious - what IS acceptable in your shop?  Placing SQL stmts in a source member?  Other methods?

Thanks

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Thursday, March 29, 2012 8:51 AM
To: Midrange Systems Technical Discussion
Subject: Re: Is there a better way to run SQL in a CL pgm?

Note that in our shop...

Doing dynamic SQL like this means and automatic failure of our Secure
Code Review as required for PCI compliance...

Unless RJS's DOCSQL doing something other than what I assume it does...

Charles


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.