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 |
-h | This option can be used to prepare the properties in hexadecimal form. The output |
-f file | You specify for file the name of a file that contains the GLOBAL NAMES of the TS |
name | The GLOBAL NAME of the TS application in the TS directory is to be specified as 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. If one of the name attributes for a GLOBAL NAME does not contain data (e.g. NP4) 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
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
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
The properties of all TS applications are to be output to a file tns:
tnsxprop > tns