Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example: Using JCL to copy from a PDS to the file system z/OS UNIX System Services User's Guide SA23-2279-00 |
|
To copy a load module out of a partitioned data set and into the
file system, you have to use the binder to flatten the load module.
Here is an example of JCL our friend TURBO wrote for copying a z/OS XL C/C++ load module into
the file system:
This
job relinks, or rebinds, the z/OS XL C/C++ load module PAYRLL
from TURBO.POSIX.LOADLIB(PAYRLL), and puts the output into the file
system as /u/turbo/llib/payrll. Be sure you specify the correct
entry point—in this case, CEESTART—for a z/OS XL C/C++ program. If you
do not specify the entry point, the entry point is assumed to be at
the beginning of the load module.Note that if the file does not exist you must specify the PATHOPTS and PATHMODE parameters on the DD statement in order to create the file with the appropriate permissions. If the file already exists but you do not have the appropriate file permissions, either the permissions or your access privileges will have to be changed. |
Copyright IBM Corporation 1990, 2014
|