On Wed, 28 Sep 2022 15:39:48 +0000, Seymour J Metz wrote: >Did you set executable in the permissions? > > How does one do that for a program object in a PDSE, the OP's requirement?
There is a case where /bin/ld will create a file set executable in the permissions, but lacking the executable magic number. Then exec(), per POSIX requirement, treats it as a shell script with surprising results. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN