This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
OCIGetTnsnamesPath
|
OCIGetTnsnamesPath -> Function result | ||||||||
Parameter | Type | Description | ||||||
Function result | String |
![]() |
Pathname of Oracle home folder | |||||
The OCIGetTnsnamesPath command returns the full path of the Oracle home folder.
This function is especially useful if you need to access certain files from the Oracle home folder.
Get the list of entry points contained in the "tnsnames.ora" file.
$TnsPath:=OCIGetTnsnamesPath
oci_tool_GetEntryName($TnsPath+"Network"\Admin\tnsnames";->oci_tTnsNameEntry)
oci_tool_GetEntryName is a 4D method that allows analyzing the "tnsnames.ora" file to extract entry points and save them in a text array.
Product: 4D
Theme: Extras
Number:
705125
4D for OCI ( 4D v19)