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.
Phuoc Ho wrote:
}
} How can we disconnect from the database and see no connection
} in onstat -u. We have tried various "close database", "disconnect"
} but no thing seems to work. Did anyone try this?
}
} We basically need to run a 4gl program that will only connect
} to the database on command.
}
} Thanks in advance
}
} We are using: ONLINE 7.23 and Informix 4gl v 6.01
Hi:
Look at the sqlexit(), sqldetach() and sqlstart() functions.
They are docummented on the ESQL/C programmer's manual so I am not sure
if you can use them directely from 4GL. You, always, can write a c
function that uses them. We use these functions on ESQL/C programs
and never had any problem.
Tino
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.