I have a terrible hammer; every time I use it with a screw, I have problems.

REXXTRY is an extraordinary tool for what it was designed to do - it is not, 
and was never intended to be, an IDE. It is simple and elegant.

If you need a log for your REXXTRY session, it's a simple matter to add that 
functionality. Likewise allowing a statement as an argument. Of course, much of 
what you want you can do with redirection without having to touch the code 
("When the only tool you have is a pipe, everything looks like a filter.").




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

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
John McKown [[email protected]]
Sent: Monday, March 16, 2020 10:23 AM
To: [email protected]
Subject: Re: Scripting REXX thought -- inspiration or insanity?

On Mon, Mar 16, 2020 at 8:57 AM Lionel B Dyck <[email protected]> wrote:

> OS/2 had a command called REXXTRY that would do what you want.  I was able
> to get permission from IBM to distributed it years ago (just after OS/2
> ceased to be marketed) and you can get a copy at
> http://secure-web.cisco.com/1C0J4R_tPFsc0sAQcKc58AnNWxqJ-Z6NEFkqEDNAcCN31Eoy77o7_HfBV44Qr4EKDui-SFHHiojCWbZ8LrTcy6v8nZ2Fw8fJvlK_b_Zx9AOF-cx9CNYigqBH27SsqVFeKO-3o_GFJfKkT9GNsNcTRQgwt_OWZOLpwBU8hsocPkz473NeuzxHQFj5yWQlOQvmuZmZRpcRft9tYfVH9eCiny2dlWWoXD4YjsKzkjuVhyOEdO2IAuzNKq6iXmB_xLKxkIVdncTNpE3JjrLwP60cQOKNbPswlqSbynwj6BIVyVaeA6_5inoWYmaLr8-bOuz13lZ4r_azyvBaLDzQXA5uUnWGIpkVLxPRUuiq2-Rtt-XtYcspvHLoCHNiH_X5HAYlBnue5FdI5k3di1DPdRv7kxPuWV78s7joO4NTSE-sGMS5F5u-gP-BoLq7ftH1UqYz2/http%3A%2F%2Flbdsoftware.com%2Frexxtry.zip
>
>  Have not tried it under OMVS but in theory it should work, perhaps with
> minor tweaking (one would hope).
>

Yes, there is REXXTRY. But it doesn't do what I am describing. It will do
some of it, sort of. It will accept a REXX statement from the input and
execute it. There is no way to put the statement(s) to execute on the
command line itself. And there is no implicit loop capability which
automatically reads the input file(s) and assigns the record content to a
variable, $_ in my example. Also, it will not accept multiple input
statements and create a REXX program from them all, then run it. It is, at
best, clumsy. At least in my opinion.



>
>
> Lionel B. Dyck <sdg><
> Website: 
> http://secure-web.cisco.com/1sDaNLLW7uhd5PdYFORbpx0ICfRB7HSWvhhUz3gKBEpJHWWFfUmO-TJXJnxV-8fga7chitmekfrBUwS-SQo1H8A_Sijjac9tpl0t3-qlmbv_Jb8cqPmgcwK8xSxymTwjrRVtKLtdnq7D2YfYUMUdelsOHSH55lB6mXWc8T5w6EaABbBdp3V-jDR4tvfk720NdXyFlIEju1O13CHiJJfdw7z0dMOxakIcbQT9kmPLlXa9wq5yuzRhqMFRnpl_rVq_oD8MQsoDsRI6l9-68O_cEdkLHnGCJIIcw7H-P2zKRSpxwumF7TQH0eP6L7LZs6cxgT5p153GefXbwiwGe816CWmssrtH4cOW2mXzZHEGufd-4QWYsmSizABwqpsDE6fTqnSy7h4tFOMH8cTbtiVRgmOgakdDmdd1P4Nw86P3PUIQzrk9n6D6rEFytKx3vkYdL/http%3A%2F%2Fwww.lbdsoftware.com
>
> "Worry more about your character than your reputation.  Character is what
> you are, reputation merely what others think you are." - John Wooden
> to [email protected] with the message: INFO IBM-MAIN
>


--
People in sleeping bags are the soft tacos of the bear world.
Maranatha! <><
John McKown

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