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.
Hi ,
I had to connect to the remote database in 4gl .
local server&db is : db1@local
remote server & db is : db2@remote
in 4gl program :
$ cat test.4gl
database db1
main
define q record like db2@remote:systables.*end
It won't pass the compile .
How should I solve this problem ?
try:
create synonym in local db:dbaccess db1 <<!
create synonym mysystables for db2@remote:systables;!
then in 4gl use mysystables.
Superboer.
roger@star2000.com.tw schreef:
> Hi ,
> I had to connect to the remote database in 4gl .
> local server&db is : db1@local
> remote server & db is : db2@remote
>
> in 4gl program :
> $ cat test.4gl
> database db1
> main
> define q record like db2@remote:systables.*> end
> It won't pass the compile .
> How should I solve this problem ?
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.