Quoting prevents evaluation and also prevents uppercasing.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר




________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Sunday, August 3, 2025 12:24 PM
To: [email protected] <[email protected]>
Subject: Re: Obtaining the Return Code from bpxwunix in a REXX progrm,


External Message: Use Caution


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