Apples and oranges. As before, you're talking about the capabilities of the 
environment in which it is running, not the capabilities of the program. 

Further. how do you handle the case where you want to use the output of one 
command as the source for a script and the output of a different command as the 
input to the script. Adding Rube Goldberg features to Rexx instead of writing 
simple wrappers maximaly violates the Unix tradition you cited.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Monday, March 16, 2020 5:15 PM
To: [email protected]
Subject: Re: Scripting REXX thought -- inspiration or insanity?

On Mon, 16 Mar 2020 19:59:06 +0000, Seymour J Metz wrote:

>> It's the UNIX tradition.

https 
colon//http://secure-web.cisco.com/1M_2EXcoLWPN-8aW9ElazoTowG-ebLU4SfxW1ZrKYM7sxHV3rpFiVkqwdejr3RMA-uhOdn7F9wIwFXcqinI-yb3d6Pe8GFIj24vIJe2o4E7gkn9bU3uV3RjUtIaFQcyCTg2A7MYZJd8h0O0eJGIBnVWe6QJ4IcUH4yXKoyWvrErfPM549douPzOLxMY54UHJudybB_ujaaivu1O1Lhl1510PwRFegFUT5TGRDZDr-J0vQCpHhYbPk-e-oAyp7kFqaxV-nCbKjPUJo60GgwV4ldey1bUCiD_JsuAFl0vwInk1UpwJ0e0mufJlbv6BoC8ahm07Acouycgc82ZhV46tsdBH4q0izpRWwbA-S4zirddZuLmIC7GNFJ3HMH8ZzdeH-65kxSGP1mbYKNecd6BE28KUhtK-Im9N6geHFOu-6nCMaLM93MI5Z3X34u8Vcdqgv/http%3A%2F%2Fwww.goodreads.com%2Fquotes%2F353571-a-foolish-consistency-is-the-hobgoblin-of-little-minds-adored

The operant qualifier is "foolish".

>Can you pipe the output of a Unix command to IRXJCL? shell syntax?
>
Not shell, but with Rexx: SYSCALL pipe; BPXWDYN( 'alloc dd(SYSTSIN) ...' ); 
ATTCHMVS;
and, yes, that's SYSTSIN, not SYSEXEC.

>Is there a compelling need to do that?
>
No.

>So does foo | rexx bar, but neither one treats the output of foo as Rexx code
>
With a little shell redirection, it's easy with Regina.

> It makes most sense if someone else writes that wrapper.
>
With a little shell redirection, it's easy with Regina.

>You are someone.
>
But not someone *else*.

-- 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