The Sun N1 SPS 5.2 XML schema includes the following enhancements.
The <return> step and return attribute to the <install>, <uninstall>, and <control> blocks enable you to stop the execution of specific control blocks and optionally return a value to the calling step.
You can use the <assign> step to assign new values to previously declared local variables. Use this step to with the <install>, <uninstall>, and <control> blocks to assign returned values to local variable values.
The <assignError> and <assignOutput> child elements of the <execJava> and <execNative> steps enable you to assign the value of the standard output or the standard error stream to local variables.
The <assignStatus> child element of the <execNative> step assigns the status code of the native OS command to a local variable.
For more information about these enhancements, see the Sun N1 Service Provisioning System 5.2 XML Schema Reference Guide.