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.
Steven Hauser — — source: Informix-list mailing list archive (1991-1998)
I do a shell script wrapper of the dbaccess stuff, first get
a bunch of keys, put them in a shell variable like:
KEYS=`dbaccess_shell_procedure`
Then I do a shell for loop with a counter to control the number
of iterations:
(syntax not accurate)
for i in $KEYS
do
j=$j+1
another_dbaccess_single_key_select_procedure $i # pass in KEY
test $j -eq 10 && break
done
Slow, ugly, yes. Simple yes. Or use stored procedures.
Your privacy choices
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.