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.

Table 28. Built-in Shell Variables (sh command) (continued)<br />

Variable Purpose<br />

FPATH Contains a list of directories that the system searches to find<br />

executable functions. Directories in this list are separated with<br />

colons. sh searches each directory in the order specified in the list<br />

until it finds a matching function. If you want the shell to search the<br />

working directory, put a dot (.) or a null string in the list of<br />

directories (for example, to tell the shell to search the working<br />

directory first, start the list with a colon or semicolon).<br />

HISTFILE Contains the pathname of a file to be used as the history file. When<br />

the shell starts, the value of this variable overrides the default<br />

history file.<br />

HISTSIZE Contains the maximum number of commands that the shell keeps<br />

in the history file. If this variable contains a valid number when the<br />

shell starts, it overrides the default of 127.<br />

HOME Contains your home directory.This is also the default directory for<br />

the cd command. The HOME variable is set automatically from the<br />

RACF user profile when the user logs in.<br />

IFS Contains a series of characters to be used as internal field<br />

separatorcharacters. Any of these characters can separate<br />

arguments in unquoted command substitutions such as `command`<br />

or $(command), or in parameter substitutions. In addition, the shell<br />

uses these characters to separate values put into variables with the<br />

read command. Finally, the first character in the value of IFS<br />

separates the positional parameters in $* expansion. By default,<br />

IFS contains space, tab, and newline.<br />

LANG Contains the default locale value.<br />

LIBPATH Used to specify the directory to search for a DLL (Dynamic Link<br />

Library) filename. If it is not set, the working directory is searched.<br />

For more information, see dlload in z/<strong>OS</strong> XL C/C++ Run-Time<br />

Library Reference.<br />

LIBPATH can be updated by the _CEE_ENVFILE or<br />

_CEE_ENVFILE_S environment variables. For more information on<br />

_CEE_ENVFILE, see the z/<strong>OS</strong> XL C/C++ Programming Guide.<br />

LINENO Contains the number of the line currently being run by a shell script<br />

or within a function.<br />

LINES Used by several commands to define the number of lines on the<br />

terminal output device.<br />

LOCPATH Tells the setlocale() function the name of the directory in the z/<strong>OS</strong><br />

<strong>UNIX</strong> file system from which to load locale object files. (localedef<br />

produces locale object files by processing locale source files.)<br />

LOGNAME Contains the user login name. This is set automatically from the<br />

RACF user profile when the user logs in.<br />

MAILCHECK Contains the number of seconds of elapsed time that must pass<br />

before the system checks for mail; the default value is 600<br />

seconds. When using the MAIL or MAILPATH variables, the shell<br />

checks for mail before issuing a prompt.<br />

sh<br />

Chapter 2. Shell command descriptions 571

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

Saved successfully!

Ooh no, something went wrong!