host as parameter in piv
Posted 22 June 2005 - 09:18 AM
Is it possible to have the host name as a parameter in a piv file?
We have Oracle failsafe on a new server, our PRO-IV app is installed on both nodes, would like
to have one piv in a shared location so users will not have two pivs.
If there is another way of doing this, would appreciate any suggestions.
Posted 22 June 2005 - 01:42 PM
Ok, not reading the whole story...
You could create the piv file "on the fly", after which server you wish to use at the time.
Edited by Sindre Solem, 22 June 2005 - 01:44 PM.
Posted 22 June 2005 - 01:51 PM
Sorry, I actually answered Fred's question and not yours...
What you can do relatively easily is created a batch file that dynamically builds a PIV. If the hostname is fed in as %1, then the batch could build either PIV on the fly.
The hostname is in the PIV on the line starting with H.
Posted 22 June 2005 - 05:45 PM
Although you don't actually need to do this in any reasonably recent version of ProIV to retrieve an environment variable, you can just write..
At least that's one officially-unsupported SYSF call we don't all have to rely on
Edited by Richard Bassett, 22 June 2005 - 05:45 PM.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users