If the load module is in a
partitioned data set (PDS), you
can do one of these:
- Use OPUTX. If the source data set is a PDS with an undefined record
format, OPUTX treats the members as load modules. In order for the
program to be able to run from the file hierarchy, the entry point
must be at the beginning of the load module.
In order for OPUTX
to treat the file as a load module, do not specify BINARY or TEXT.
Once the module is in the file system, use chmod to
make it executable. If you replace an existing file, the permissions
are unchanged.
- Use JCL that invokes the binder before you copy the module into the file system.
See the following example for sample JCL.