Copying an executable module from a PDSE
If the load module is in a PDSE, you can copy it to the file system
using one of these commands:
- The OPUT or OPUTX command. For a new text (non-U-format data set) file, the default permission is octal 600; you can use the chmod command or the MODE keyword on the OPUTX command to make it executable. If you replace an existing file, the existing permissions are unchanged.
- The OCOPY command. Specify PATHMODE(SIRWXU) to make the file executable for the owner.