AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | SUN | Win NT |
X | X | X | X | X | X | X | X | X |
Purpose
Returns the value of the specified configuration variable.
Format
@DTW_GETINIDATA(iniVarName, iniVarValue)
@DTW_rGETINIDATA(iniVarName)
Parameters
Table 39. DTW_GETINIDATA Parameters
Data Type | Parameter | Use | Description |
---|---|---|---|
string | iniVarName | IN | A variable or literal string. |
string | iniVarValue | OUT | The value of the configuration variable specified in iniVarName. |
Return Codes
Table 40. DTW_GETINIDATA Return Codes
Return Code | Explanation |
---|---|
-1001 | The server could not process a Net.Data request to allocate memory. |
1003 | An incorrect number of parameters were passed on a function call. |
1005 | A parameter passed on a function call, required to be a string variable, was of a different variable type. |
1006 | A literal string was passed on a function call for a parameter which was required to be an output parameter. |
Usage Notes
Examples
Example 1: Returns the Net.Data path variable value.
myEnvVarName = "FFI_PATH" @DTW_GETINIDATA(myEnvVarName, myEnvVarValue)
Yields: myEnvVarValue = "D:\FFI"