This worked for me - could your default file permissions not include execute (x) ?
SPLBD:/home/splbd/tmp: >dir total 34 drwxrwxrwx 2 SPLBD SYS1 8192 Feb 2 06:53 . drwxr-xr-x 17 SPLBD SYS1 8192 Feb 2 06:52 .. - untagged T=off -rwx------ 1 SPLBD SYS1 30 Feb 2 06:53 test.rex SPLBD:/home/splbd/tmp: >./test.rex Hello World! Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of ITschak Mugzach Sent: Wednesday, February 2, 2022 08:46 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: USS Rexx mistery 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 to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN