Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

tnsxprop - Output properties of TS applications

&pagelevel(4)&pagelevel

tnsxprop outputs all values of all properties that are located in a TS directory for the specified TS applications to stdout in a printable format.

You can specify in which format the properties are to be output using the first parameter.

The TS applications are determined by the parameter values for name. The parameter values for name can also be passed to tnsxprop from file. If no data was specified for name or file, then tnsxprop prepares the properties of all TS applications in the TS directory in the specified format.

The command has the following syntax (abbreviated):

tnsxprop [-S | -h] [-f file] [name ...]

-S

This is the default setting. This option can be used to output the properties in
symbolic form in the tnsxfrm format.

-h

This option can be used to prepare the properties in hexadecimal form. The output
is a string of hexadecimal digits together with the corresponding bit representation
in which the lowest valued bit is located on the far right.

-f file

You specify for file the name of a file that contains the GLOBAL NAMES of the TS
application whose properties are to be queried. The GLOBAL NAMES are to be
specified as described under name.

name

The GLOBAL NAME of the TS application in the TS directory is to be specified as
follows for name:

NP5.NP4.NP3.NP2.NP1

The individual NPi’s are the name attributes of the GLOBAL NAME.

NP5 is name attribute [5], i.e. it is the part of the name of the lowest hierarchy level.
NP1 is name attribute [1], i.e. it is the part of the name of the highest hierarchy level.
The name attributes are to be specified in ascending order hierarchically from left
to right.

If one of the name attributes for a GLOBAL NAME does not contain data (e.g. NP4)
and a name attribute of a higher level follows this name attribute (e.g. NP3), then
only the separator (.) is to be specified for the name attribute that does not contain
data. A series of separators at the end of the value of name does not have to be
specified.

If the name attributes contain special characters whose special meaning would cause the syntax to take on multiple meanings, then these special characters must be delimited using the backslash (\). When in doubt, you should delimit every special character. Superfluous characters are ignored by tnsxprop.

If you specify an asterisk (*) for a name attribute, then tnsxprop returns the properties of all TS applications that match all other name attributes specified in name (TS_RE-STRICTED filter mode).

Examples

  1. The properties of the TS application that only has name attribute [5] set to the value example_1 are to be output in hexadecimal form:

    tnsxprop -h example_1

  2. The properties of the TS application that only has name attribute [5] set to the value example_1 are to be output in symbolic form:

    tnsxprop example_1

  3. The properties of all TS applications are to be output to a file tns:

    tnsxprop > tns