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.

Locale<br />

Files<br />

Localization<br />

Exit Values<br />

A locale is the subset of a user’s environment that depends on language and<br />

cultural conventions. A locale defines such things as the definition of characters,<br />

and the collation sequence of those characters. P<strong>OS</strong>IX.2 defines a P<strong>OS</strong>IX locale,<br />

which is essentially USASCII.<br />

Since lex generates code that is then compiled before being executed, it is difficult<br />

for lex to act properly on collation information. The P<strong>OS</strong>IX.2 standard therefore<br />

does not require lex to accept any locales other than the P<strong>OS</strong>IX locale. lex accepts<br />

regular expressions in this locale only.<br />

lex uses the following files:<br />

l.output<br />

Scanner machine description<br />

lex.yy.c<br />

Tables and action routines<br />

/etc/yylex.c<br />

The prototype lex scanner<br />

/usr/lib/libl.a<br />

lex archive library with functions compiled for 31–bit addressing mode.<br />

/usr/lib/liblxp.a<br />

lex archive library with functions compiled with XPLINK. Includes two<br />

versions: 64–bit addressing mode and 31–bit addressing mode.<br />

lex uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_COLLATE<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v LC_SYNTAX<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v Inability to create an output file<br />

v Inability to open the file<br />

v Missing output filename after –o<br />

v Missing prefix after –p<br />

v No lex rules<br />

v No memory for DFA moves<br />

v Out of NFA state space<br />

v Out of DFA move space<br />

v Out of DFA state space<br />

v Push-back buffer overflow<br />

v Read error on file<br />

v Table too large for machine<br />

v Too many character classes<br />

lex<br />

Chapter 2. Shell command descriptions 345

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

Saved successfully!

Ooh no, something went wrong!