Previous Topic

Next Topic

Book Contents

Book Index

directory/variable

Display a directory of variables.

The DIRECTORY/VARIABLE command is used to display the directory of variables and to display the value of the variables. The evaluated result of a variable expression can also be displayed using the qualifier.

General Format

directory/variable variable [/qualifiers]

Alternate

lsvar variable [-qualifiers]

Qualifier Summary

General Qualifiers:

/columns=number

/hostname=host_name

/noheading

/notrailing

/now=projected_time

/output=output_file

/type=var_type

/symbol [= prefix_string,format] (default = sv)

/template=prefix_string

Examples

$ schedule directory/variable sch_test_var

$ schedule directory/variable/full tomorrow

\vars\tomorrow

Comment =
Type = Expression
Value = ""TODAY" + 1 DAY"
Result = "August 11, 2006, 0:00"

Qualifiers

/columns=number

The COLUMNS qualifier specifies how many columns to use when listing just the item name. The default is four columns.

/comment

The COMMENT qualifier is the comment that is associated with a variable.

/hostname=host_name

The qualifier specifies what node (either local or remote) you want the operation performed on.

/full

The FULL qualifier displays any comments, a variable's value and its type. In the case of a variable expression, it displays the resulting value when the expression is evaluated.

/noheading

The NOHEADING removes the heading information from the directory listing.

/notrailing

The NOTRAILING removes the trailing information from the directory listing.

/NOW=projected_time

The NOW qualifier displays the resulting value of the evaluation takes place in the time designated.

/output=output_file

The OUTPUT option sends all output to a text file. Output can be printed or displayed as needed.

/symbol[=prefix_string]

The SYMBOL command requests that all job information be output to environmental variables. The environmental variable is constructed by prefixing the field name with the provided string. If none is provided a default value of SV is used. To display the environmental variables output from the /symbol qualifier use:

The format defines the way that symbols are output. The default output specification is: "$ %s=\" %s\" "" which produces the following format style.

SV_TYPE = "String"

Alternate output styles may be created by changing the format field.

/template=<schedule_directory>template_db.schedule

The TEMPLATE command formats the directory output as it is defined in the template file. This output can be used for a variety of reasons and can be output to a file using the OUTPUT . The supplied template file extracts all database information into a format suitable for insertion if desired.

/type

The type qualifier is the type of the variable. The two types are "string" for a string variable and "expression" for a variable expression.

/value

The VALUE qualifier is used to display the contents of the variable. This value can be any alphanumeric characters up to 256 characters long.

See Also

VARIABLE commands

copy/variable

create/variable

delete/variable

modify/variable

rename/variable