HP Scalable Visualization Array Version 1.1 Visualization System Software Reference Guide

svaDisplayDataStatus(3)
svaDisplayDataStatus
svaDisplayDataStatus -- Writes a text message from svagetdata or svaputdata to STDERR.
Synopsis
svaDisplayDataStatus error-code
Parameters
error-code The value returned by svagetdata or svaputdata.
Returns
None.
Description
The text message associated with the error-code parameter is extracted from the svadata message file,
prefixed with ERROR: error-code, and written to STDERR.
Make sure that the job launch script sources the svainit file before this function is called:
. svainit
Example
The following example displays text for the current error message:
cluster_name='svagetdata SVA_CLUSTER SVA_CLUSTER_NAME'
status=$?
if [$status -ne 0]; then
svaDisplayDataStatus $status
18 Configuration Data Access Functions, Scripts, and Commands