Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jack Parker — — source: Informix-list mailing list archive (1991-1998)
My version of the question was:
CREATE PROCEDURE tst_dbs(srvr CHAR(64))
CALL database@srvr:procedure(parms);
END PROCEDURE;
------
The following works:
create procedure tst_dbs(srvr CHAR(64))
DEFINE stmt CHAR(200);
LET stmt =
"echo execute procedure procedure\\(parms\\) | dbaccess database@" || srvr;
system stmt;
end procedure;
(I needed it too).
cheers
j.
_____________________________________________________________________________
Jack Parker - Hewlett Packard, DMD/IS Boise, Idaho, USA
jparker@hpbs3645.boi.hp.com Back in Boise
_____________________________________________________________________________
If anything can go wrong, fix it. To hell with Murphy.
_____________________________________________________________________________
Any opinions expressed herein are my own and not those of my employers.
_____________________________________________________________________________
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.