Sets the ESSBASEPATH environment variable for the runtime process.
Syntax
EsbSetPath (Path) ByVal Path As String
Parameter | Description |
---|---|
Path | String describing the ESSBASEPATH environment variable |
Notes
Call EsbSetPath() before calling EsbInit().
Path cannot exceed 120 characters, as defined in ESB_PATHLEN.
Path applies only to the current process.
Essbase DLLs must be accessible from the system path. EsbSetPath() does not resolve the path for the Essbase DLLs.
Return Value
If successful, returns ESB_STS_NOERR.
If Path is too long, returns API_NAME_TOO_LONG (1030009).
Example
Sub ESB_SetPath Dim sts As Long Dim Path As String Path = "C:\Hyperion\products\Essbase" sts = EsbSetPath(Path) End Sub