¿ªÔÆÌåÓý

Re: How To Capture CP SPOOL Command Output #VMCE


 

On Sun, May 8, 2022 at 10:13 PM, Joe Monk wrote:
As I understand EXECIO, if youre supplying a CP command on the same line, you have to use the STRING option...
?
As an example: EXECIO * CP (SKIP STRING Q userid
Joe,

Thank you verymuch! I read the online help, but didn't understand. I guess I will also go look at other EXECIO documentation as well. I ended up with the following, which gets me the spoolid I wanted.

'EXECIO * CP ( STRING SPOOL CONSOLE STOP CLOSE TERM'
?????????????????????????????????????????????????? ?
PULL . . Spoolid .???????????????????????????????? ?
SAY Spoolid????????????????????????????????????????

?... Mark S.

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