HP SVA V2.1 Visualization System Software Reference Guide
svagetdata(1)
NAME
svagetdata -- Gets the value of a tag from the named section in the SVA Configuration Data Files.
Synopsis
svagetdata { section_name } { tag_name }
Parameters
section_name
Name of the data file section where the tag is found.
tag_name
Name of the tag within the specified section for which to get data.
Returns
-2 The section or tag was not found.
Description
The svagetdata command is used in the job launch scripts.
This command uses a C style of calling standard, which you should bear in mind if you intend
calling it from your application.
This command has semantics that depend on the user ID. If the user is root, then only the Site
Configuration File is used. If the user is not root, then only the Job Settings data file is used. Refer
to the SVA System Administration Guide and the SVA Users Guide for more information on these
files.
This command looks in the applicable Configuration Data File for the named section and tag,
and writes its value to sdtdout.
If a specified section or tag is not found, no value is printed to sdtdout. You can use
svaDisplayDataStatus to pass in an error code and get the associated text string returned.
For non-root users, be sure the launch script sources the svainit file before this function is
called:
. svainit
59