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.

file.p Specifies the name of a prelinker composite object file produced during the<br />

c89/cc/c++ link-editing phase. By default, the composite object file is written<br />

to a temporary file. To have the composite object file written to a permanent<br />

file, see the environment variable prefix_TMPS under Environment<br />

variables.<br />

When a composite object file is produced by c89/cc/c++, the default name<br />

is based upon the output file name. See the -o option under Options on<br />

page 75, for information on the name of the output file.<br />

If the output file is named a.out, then the composite object file is named<br />

a.p, and is always in the working directory. If the output file is named<br />

//a.load, then the composite object file is named //a.CPOBJ. If the output file<br />

specified already has a suffix, that suffix is replaced. Otherwise the suffix is<br />

appended. This file may also be specified on the command line, in which<br />

case it is used as a file to be link-edited.<br />

file.s Specifies the name of an assembler source file to be assembled. You can<br />

specify an MVS data set name, by preceding the file name with double<br />

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

ASM.<br />

file.x Specifies the name of a definition side-deck produced during the<br />

c89/cc/c++ link-editing phase when creating a DLL (Dynamic Link Library),<br />

and used during the link-editing phase of an application using the DLL.<br />

DLLs are further described under the -W option.<br />

When a definition side-deck is produced by c89/cc/c++, the default name is<br />

based upon the output file name. See the -o option under Options on page<br />

75, for information on the name of the output file.<br />

If the output file is named a.dll, then the definition side-deck is named a.x,<br />

and is always in the working directory. If the output file is named //a.DLL,<br />

then the definition side-deck is named //a.EXP. If the output file specified<br />

already has a suffix, that suffix is replaced. Otherwise the suffix is<br />

appended.<br />

You can specify an MVS data set name to be link-edited, by preceding the<br />

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

set name must be EXP.<br />

Example: If a partitioned data set is specified, more than one member<br />

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

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

c89, cc, and c++<br />

–l libname<br />

Specifies the name of an archive library. c89/cc/c++ searches for the file<br />

liblibname.a in the directories specified on the -L option and then in the<br />

usual places. The first occurrence of the archive library is used. For a<br />

description of the usual places, see Usage Note 7 on page 99.<br />

You can also specify an MVS data set; you must specify the full data set<br />

name, because there are no rules for searching library directories.<br />

The data set specified must be a C370LIB object library or a load library. If<br />

a data set specified as a library has undefined (U) record format, then it is<br />

assumed to be a load library. For more information about how load libraries<br />

are searched, see Usage Note 7 on page 99.<br />

Chapter 2. Shell command descriptions 83

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

Saved successfully!

Ooh no, something went wrong!