When scanning a HOLD command, ISQL deletes any escape character
and treats the character following an escape character as a
simple character. Therefore, if an escape character is to
appear in the command buffer, you must use three escape
characters instead of one (that is, the escape character and the
following character must each be escaped). The escape character
and semicolon are still required between commands when multiple
commands are placed in the command buffer.
The following shows the correspondence between what you want to
place in the command buffer and what you must type in with the
HOLD command:
To put this in command buffer:
Type this:
SYSTEM cat isqlpro\; date; HOLD system cat isqlpro\\\; date;
SYSTEM cat isqlpro; info t1; HOLD system cat isqlpro\; info t1;
SELECT * from t1 where c = '\\'; HOLD select * from t1 where c = '\\\\';
|