User Guide
148 Other Installation Options
Other Installation Options
103-000143-001
August 30, 2001
Novell Confidential
Manual 99a38 July 17, 2001
This command is the counterpart to the ProductRecord command. See
“ProductRecord” on page 123 for more information on record types.
Example
ReadProductRecord MYPROD, 0, version, ccode
The command will search the products database and return the value for
<version> for product 'MYPROD'.
Read_Var_File
Syntax
Read_Var_File <path>, <filename>, <completion code>
Description
Read_Var_File will read the contents of the filename and create variables for
script processing. The file is an ASCII formatted file with the content as
follows:
“Variable1=true”
“Variable2=false”
“Variable3=Servername”
Example
Read_Var_File “sys:system”, “varfile.txt”, ccode
NOTE: Ccode will return the file open status. 0 is success, anything else is an
error. If the variable to the left contains any spaces, leading or trailing, the spaces
will become part of the variable name and must be included with the variable when
referencing it.
SetDir
Syntax
SetDir <var name>, <relative dir>, <vol name>, <vol descr>,
<attributes>, <0|1>, <rights>
Description
SetDir creates directories (if they do not already exist), according to the <var
name> obtained from GetPath (page 141). The <relative dir> value can be
null. <attributes> are the attributes to use when creating the directory; 0