I use a number of execute statement blocks, but having the user name/password hardcoded in the stored procedures is both a maintenance and security nightmare.
having the ability to
for execute statement :remotesql on external :connection_statement as user :remote_user password :remote_password role :remote_role
into ..... do begin....
The remotesql and connection statement works, BUT the as block does not seem to support variables.
I am hoping that this is already implemented as it is key to using the execute statements for remote connections without having hard to maintain code.