Oracle Forms (MOSC)

MOSC Banner

Trying to get Hostname.Domain by using TEXT_IO & HOST built-Ins

edited Dec 10, 2013 5:27AM in Oracle Forms (MOSC) 4 commentsAnswered
Hello,

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center