Trying to get Hostname.Domain by using TEXT_IO & HOST built-Ins
I have a 10g application running in LINUX platform. We have 2 servers where the application's loadings will be distributed. The big idea here is to determine which one is on in every user logging action. For it, I've designed a routine that gets the "hostname -f >>hosting-txt" linux command line by using the oracle HOST command from a menu form.
This idea works as follow:
-Creation of a shell script by mean of the TEXT_IO built-in
-Run the created shell by the HOST
-Finally, reading the hosting.txt (expected result) by mean of the TEXT_OI built-in again.