16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ld<br />

be a C370LIB object library or a load library. See the description of the –l<br />

libname operand for more information about using data sets as libraries.<br />

file.o Specifies the name of an object file, produced by z/<strong>OS</strong> compiler or<br />

assembler, to be link-edited.<br />

To specify an MVS data set name to be link-edited, precede the file name<br />

with double slash (//), in which case the last qualifier of the data set name<br />

must be OBJ.<br />

If a partitioned data set is specified, more than one member name may be<br />

specified by separating each with a comma (,):<br />

Example:<br />

ld //file.OBJ(mem1,mem2,mem3)<br />

file.x Specifies the name of a definition side-deck produced by ld when creating<br />

a DLL (dynamic link library), and used by ld when linking an application<br />

using the DLL. See the description of side-deck processing in z/<strong>OS</strong> MVS<br />

Program Management: User’s Guide and Reference.<br />

To specify an MVS data set name, precede the file name with double slash<br />

(//), in which case the last qualifier of the data set name must be EXP.<br />

If a partitioned data set is specified, more than one member name may be<br />

specified by separating each with a comma (,):<br />

Example:<br />

ld //file.EXP(mem1,mem2,mem3)<br />

Environment variables<br />

You can use environment variables to specify necessary system and operational<br />

information to ld. When a particular environment variable is not set, ld uses the<br />

default shown. For information about the JCL parameters used in these<br />

environment variables, see z/<strong>OS</strong> MVS JCL User’s Guide.<br />

_LD_ACCEPTABLE_RC<br />

The maximum allowed return code (result) of the binder invocation. If the<br />

result is between zero and this value (inclusive), then it is treated internally<br />

by ld exactly as if it were a zero result, except that message IEW5033 may<br />

be issued. For more information about binder return codes, see z/<strong>OS</strong> MVS<br />

Program Management: User’s Guide and Reference. The default value is:<br />

"4"<br />

_LD_ASUFFIX<br />

The suffix by which ld recognizes an archive file. This environment variable<br />

does not affect the treatment of archive libraries specified as -l operands,<br />

which are always prefixed with lib and suffixed with .a. The default value is:<br />

"a"<br />

_LD_ASUFFIX_H<strong>OS</strong>T<br />

The suffix by which ld recognizes a library data set. This environment<br />

variable does not affect the treatment of data set libraries specified as -l<br />

operands, which are always used exactly as specified. The default value is:<br />

"LIB"<br />

_LD_DAMPLEVEL<br />

The minimum severity level of dynamic allocation messages returned by<br />

dynamic allocation message processing. Messages with severity greater<br />

than or equal to this number are written to stderr. However, if the number is<br />

336 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!