When I try your sample without any changing any file attributes I get

cannot execute

chmod a+x /u/user/myexec.rex

get the results desired

Hello World

Carmen

On 2/2/2022 8:45 AM, ITschak Mugzach wrote:
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 IBM-MAIN subscribe / signoff / archive access instructions,
send email [email protected]  with the message: INFO IBM-MAIN

--
/I am not bound to win, but I am bound to be true. I am not bound to succeed, but I am bound to live by the light that I have. I must stand with anybody that stands right, and stand with him while he is right, and part with him when he goes wrong. *Abraham Lincoln*/

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

Reply via email to