If BPXWUNIX is a function and you call it instead of using
answer=bpxwunix(arguments) then the result goes in special variable RESULT

I wouldn't expect a shell variable such as $? to exist in Rexx after call
bpxwunix, but I like surprises :-)

Roops




On Sun, 3 Aug 2025, 17:24 Paul Gilmartin, <
[email protected]> wrote:

> On Sun, 3 Aug 2025 15:49:59 +0000, Sri Hari Kolusu wrote:
>
> >Bpxwunix uses STDOUT and STDERR for the output and error processing.  So,
> add them to your CALL statement
> >
> The names STDOUT and STDERR are not special; any
> compound symbols are acceptable.
> So:
> >call bpxwunix cmd,,,stdout.,stderr.
> >
> Night equally well be:
> >call bpxwunix cmd,,,'foobar.','wombat';
>
> (I believe quoting prevents REX evaluating symbols
> if SIGNAL ON NOVALUE.)
>
> --
> gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to