Hi Vern,

if you do, please let us know the URL to vote.

I'm at TechXchange right now, and time flies - but I would have time tomorrow, to write it.

I would not only like the interactive prompt thing - it would also be nice to have that "bind:" prefix to supply values from the script. And as they already done that tha way in VScode:Db2i it might be a good idea to align both systems.

Kind regards,
Daniel



Am 08.10.2025 um 17:51 schrieb Vern Hamberg via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:

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


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


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