On Mon, 1 Apr 2013 08:21:06 -0500, John McKown <john.archie.mck...@gmail.com> 
wrote:

>
>SELECT CURRENT-TIME FROM sysibm.systables
>

Make that 
SELECT 1 FROM SYSIBM.SYSDUMMY1
and test for SQLCode = 0.

Uses quite a lot less cycles.

Cheers,

Jantje.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to