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.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

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

Localization<br />

Exit values<br />

Portability<br />

prefix_NOCMDOPTS must have a non-zero value. Example: The following<br />

sequence will preserve the old behavior:<br />

export _C89_NOCMDOPTS=1<br />

c89 -o hello hello.c<br />

28. The following example shows the concatenation of data sets in environment<br />

variables. It shows how to use an environment variable to setup the SYSLIB<br />

DD when using the c89 command name:<br />

export _C89_LSYSLIB="CEE.SCEELKEX:CEE.SCEELKED:CBC.SCCNOBJ:SYS1.CSSLIB"<br />

This environment variable will produce the following SYSLIB concatenation:<br />

//SYSLIB DD DSN=CEE.SCEELKEX,DISP=SHR<br />

// DD DSN=CEE.SCEELKED,DISP=SHR<br />

// DD DSN=CBC.SCCNOBJ,DISP=SHR<br />

// DD DSN=SYS1.CSSLIB,DISP=SHR<br />

c89/cc/c++ use the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

0 Successful completion.<br />

1 Failure due to incorrect specification of the arguments.<br />

2 Failure processing archive libraries:<br />

v Archive library was not in any of the library directories specified.<br />

v Archive library was incorrectly specified, or was not specified, following<br />

the -l operand.<br />

3 Step of compilation, assemble, or link-editing phase was unsuccessful.<br />

4 Dynamic allocation error, when preparing to call the compiler, assembler,<br />

IPA linker, prelinker, or link editor, for one of the following reasons:<br />

v The file or data set name specified is incorrect.<br />

v The file or data set name cannot be opened.<br />

5 Dynamic allocation error, when preparing to call the compiler, assembler,<br />

prelinker, IPA linker, or link editor, due to an error being detected in the<br />

allocation information.<br />

6 Error copying the file between a temporary data set and a hierarchical file<br />

system file (applies to the -2 option, when processing assembler source<br />

files, and -r option processing).<br />

7 Error creating a temporary control input data set for the link-editing phase.<br />

8 Error creating a temporary system input data set for the compile or<br />

link-editing phase.<br />

For c89, X/Open Portability Guide, P<strong>OS</strong>IX.2 C-Language Development Utilities<br />

Option.<br />

For cc, P<strong>OS</strong>IX.2 C-Language Development Utilities Option, <strong>UNIX</strong> systems.<br />

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