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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ld<br />

-u _LD_EXTRA_SYMBOL CEEMAIN<br />

or, for AMODE 64 code,<br />

CELQMAIN<br />

file.a _LD_OPERANDS //CEE.SCEEOBJ<br />

3. When a data set name is specified, the argument must start with double-slash<br />

(//) followed by the data set name. If the name is enclosed in single quotes, it<br />

is assumed to be fully qualified and is taken as-is. Otherwise, the user login<br />

name followed by a period is prefixed.<br />

4. To be able to specify an operand that begins with a dash (-), you must use the<br />

double dash (--) end-of-options delimiter.<br />

5. When ld is invoked from the shell, any option-arguments or operands specified<br />

that contain characters with special meaning to the shell must be escaped. For<br />

example, source files specified as PDS member names contain parentheses;<br />

and if they are specified as fully qualified names, they contain single quotes.<br />

To escape these special characters, either enclose the option-argument or<br />

operand in double quotes, or precede each character with a backslash.<br />

6. Options and arguments are processed in the order read (from left to right).<br />

Where there are conflicts, the last specification is used. If options that require<br />

arguments are specified more than once, the last specification is used except<br />

as follows:<br />

-b Binder options are appended in the order they are specified<br />

-f Each file is processed when the -f option is encountered<br />

-L Library directories are appended in the order they are specified<br />

-l Libraries are searched when the -l option is encountered<br />

-S SYSLIB data sets are appended in the order they are specified<br />

All operands are processed in the order they are specified.<br />

7. Because archive library files are searched when their names are encountered,<br />

the placement of -l operands and file.a operands is significant. You may have<br />

to specify a library multiple times on the command string, if subsequent<br />

specification of file.o files requires that additional symbols be resolved from<br />

that library.<br />

8. The following environment variable specifies the name of an MVS program to<br />

be executed and can be at most eight characters in length. You can<br />

dynamically alter the search order used to find MVS programs by using the<br />

STEPLIB environment variable. For more information about the STEPLIB<br />

environment variable, see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning, GA22-7800.<br />

It is also described under the sh command.<br />

v _LD_DAMP_NAME<br />

9. The following environment variables can be at most 15 characters in length.<br />

You should not specify any periods (.) when setting these environment<br />

variables because they would then never match their corresponding operands:<br />

v _LD_ASUFFIX<br />

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

v _LD_<strong>OS</strong>UFFIX<br />

v _LD_<strong>OS</strong>UFFIX_H<strong>OS</strong>T<br />

v _LD_XSUFFIX<br />

340 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!