On Sat, Jan 24, 2026 at 11:08 AM Richard Schoen <richard@xxxxxxxxxxxxxxxxx>
wrote:

This may sound obvious, but do the same GENERATE_SQL statements work from
ACS ?


I use dbeaver, but it works fine.

This makes me think it's a possible authority issue, but the use running
the code has enough authority to read & write the object I'm trying to
generate source for.

Birgitta Hauser wrote:
Does the source member exist?

Yes, I run a CRTSRCPF command, using QSYS2.QCMDEXC, prior to invoking the
GENERATE_SQL call.

Mark Waterbury wrote:
Since you are coding this in ILE RPG IV anyway, why not just call the
QSQGNSQL API directly

Yeah, I thought about that too ... but since I'm already working in SQL, I
figured it would be best to keep this in sql.

david

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