Hi all

We can also save the SQL that contains host variables or parameter markers - it's just a text file.

Daniel, I'm also not happy that I have to enter a value for each instance of a host variable. I go back to how it works in QMQRY, the same substitution string needs the value entered only one time. I know, different interface.

But one of us should submit an Idea for this to change. I'll look to see if there might already be one, maybe submit it myself - what a concept, eh?  :)

*Regards*

*Vern Hamberg*

IBM Champion 2025 <cid:part1.LsaXZnYN.v6TSW8cA@centurylink.net> CAAC (COMMON Americas Advisory Council) IBM Influencer 2023


On 10/8/2025 9:09 AM, dfreinkel@xxxxxxxxxxxxxxxxx wrote:
Daniel

In RSS try creating variables first and then populate the variables with a SET statement.

You can then save the SQL for later use and you will not have to re-enter any values.

Darryl Freinkel
A4G
Telephone: 770.321.8562

-----Original Message-----
From: RPG400-L<rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Daniel Gross
Sent: Wednesday, October 8, 2025 8:49 AM
To:rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Inconsistency with SQL in ACS vs RPG

I do that occasionally - but sadly the pseudo-host-variables in iACs are ...

a) not persistent - so I have to re-enter them at every execution again and again - VScode DB2 for I has a new "bind:" prefix - I have to look into this

b) if you have the same host-variable multiple times, you have to enter it multiple times - which is also less than ideal

But all in all I use that feature here and there.

Regards,
Daniel



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