Sorry, I was thinking of the other direction. 

If the OP did a cp -X from Unix to PDSE and it wouldn't execute, it would be 
time to report it, assuming that he can reproduce it on 2.5.


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

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Paul Gilmartin [[email protected]]
Sent: Wednesday, September 28, 2022 12:13 PM
To: [email protected]
Subject: Re: zOS 1.13 (really) how copy MVS loadmod from ZFS to PDSE

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