I wanted to append the return code of the pipeline set to the file.
COMMIT did the trick:

  /* OUTRC REXX */
  'callpipe *: | *:'
  'commit 0'
  'output' rc

But when I first tried to use it, I confused myself by wrapping it in
another little REXX stage to trace it:

  /* TRACE REXX */
  'addpipe *: |'Arg(1)'| *:'
  Address COMMAND 'SET EXECTRAC ON'

Since OUTRC was now in its own little subroutine pipeline, it didn't see
the parent pipeline set's return code.  Is there any way it could?

¬R

Reply via email to