I solved the problem. The issue was that in TSO I use /* MugiRexx */ to
mark the language to the interpreter. Under uss the interpreter does not
recognise the language and I needed to change it to /* Rex */.

Stupid issue…
ITschak

בתאריך יום ד׳, 2 בפבר׳ 2022 ב-20:53 מאת Hamilton, Robert <[email protected]
>:

> Tried a few things…
>
> …uppercase on the REXX vs. lower case….nope.
>
>
>
> SYS: > ./myrexx.rex
>
> Hello World!!!
>
> SYS: >
>
>
>
> …Added
>
>      #!/usr/local/bin/rexx
>
> As the first line:
>
>
>
> SYS: > ./myrexx.rex
>
> [1] + Done(137) ./myrexx.rex
>
>   67109339      Killed  ./myrexx.rex
>
> SYS: >
>
>
>
> That was pretty impressive, too.
>
> Nothing I’ve tried gives me the message you got. I have different PATH
> settings, I’m sure, but you specify it with the <current
> directory>/filename.ext format, so…there shouldn’t be any problem finding
> it. File and directory permissions are ok, or you’d have other problems,
> I’m sure. I messed with both the directory and file permissions, but my
> userid is a superuser, so nothing prevented it from running.
>
>
>
> Do you need RACF permissions? Sorry; running out of suggestions.
>
>
>
> R;
>
>
>
> Rob Hamilton
> Infrastructure Engineer
> Chemical Abstracts Service
>
> *From:* Itschak Mugzach <[email protected]>
> *Sent:* Wednesday, February 2, 2022 12:59 PM
> *To:* Hamilton, Robert <[email protected]>
> *Subject:* [EXT] Re: USS Rexx mistery
>
>
>
> [Actual Sender is [email protected]]
>
> Rob, I did. It was interpreter issue recognising the type of program.
>
>
>
> ITschak
>
>
>
> בתאריך יום ד׳, 2 בפבר׳ 2022 ב-19:52 מאת Hamilton, Robert <
> [email protected]>:
>
> I hate to ask...did you check the file permissions? It needs to be marked
> executable with something like,
>
>    chmod 777 myexec.rex
>
> before it will run.
>
> R;
>
>
> Rob Hamilton
> Infrastructure Engineer
> Chemical Abstracts Service
>
> -----Original Message-----
> From: TSO REXX Discussion List <[email protected]> On Behalf Of
> ITschak Mugzach
> Sent: Wednesday, February 2, 2022 9:46 AM
> To: [email protected]
> Subject: [EXT] USS Rexx mistery
>
> [Actual Sender is [email protected]]
>
> Co-posted to IBM-MAIN and TSO-REXX I write a small rexx program and place
> it in a directory. it onl;y have the following :
> /* rexx */
> Say 'Hello World'
>
> I start the exec with ./myexec.rex while pwd shows the correct directory
> and ls -l shows the exe. it returns BPXW0000I Exec not found
>
> What am I missing?
>
> ITschak Mugzach
> *|** IronSphere Platform* *|* *Information Security Continuous Monitoring
> for z/OS, x/Linux & IBM I **| z/VM coming soon  *
>
> ----------------------------------------------------------------------
> For TSO-REXX subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO TSO-REXX
> Confidentiality Notice: This electronic message transmission, including
> any attachment(s), may contain confidential, proprietary, or privileged
> information from CAS, a division of the American Chemical Society ("ACS").
> If you have received this transmission in error, be advised that any
> disclosure, copying, distribution, or use of the contents of this
> information is strictly prohibited. Please destroy all copies of the
> message and contact the sender immediately by either replying to this
> message or calling 614-447-3600.
>
> --
>
> *| **Itschak Mugzach | Director | SecuriTeam Software | IronSphere
> Platform | Information Security Continuous Monitoring for Z/OS, zLinux and
> IBM I |  *
>
> *|* *Email**: **[email protected] <[email protected]>*
> *|* *Mob**: +972 522 986404 **|* *Skype**: ItschakMugzach **|* *Web**: 
> **www.Securiteam.co.il
> <http://www.Securiteam.co.il>*  *|*
>
>
>
>
>
> *Confidentiality Notice*: This electronic message transmission, including
> any attachment(s), may contain confidential, proprietary, or privileged
> information from CAS, a division of the American Chemical Society ("ACS").
> If you have received this transmission in error, be advised that any
> disclosure, copying, distribution, or use of the contents of this
> information is strictly prohibited. Please destroy all copies of the
> message and contact the sender immediately by either replying to this
> message or calling 614-447-3600.
>
-- 
ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *

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

Reply via email to