¿ªÔÆÌåÓý

Re: How To Capture CP SPOOL Command Output #VMCE


 

EXECIO has some non-standard characteristics in the way it processes the STRING operand:

?STRING text
supplies up to 255 characters of output data or a CP command explicitly on the EXECIO command line. Any characters following the STRING keyword are treated as string data, not additional EXECIO operands. Therefore, STRING, if specified, must be the final option on the command line.

In the test case, STRING is followed by text which is followed by a ')'. The parenthesis is treated as part of the CP CLOSE command. The command fails and the console is not closed.

Join [email protected] to automatically receive all group messages.