Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Example: Using JCL to copy from the file system to a PDS z/OS UNIX System Services User's Guide SA23-2279-00 |
|
To copy an executable out of the file system and into a data set,
you need to use the binder to reprocess the executable. Here is an
example of JCL our friend TURBO wrote for copying a z/OS XL C/C++ load module into
a data set:
This job relinks, or rebinds, the z/OS XL C/C++ executable /u/turbo/llib/payrll,
and puts the output into TURBO.POSIX.LOADLIB(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 executable. Also, if required, you must specify
AC=1.If this is a DLL created using V2R4 or later and without the use of the prelinker, any definition side-decks of IMPORT control statements will need to be re-specified as input to the binder. In general, any control statements and options that were used when the original /u/turbo/llib/payrll was created will need to be specified again. |
Copyright IBM Corporation 1990, 2014
|