John.A Simpson-contr
2005-02-04 17:25:56 UTC
Thanks Frederick!
I used your suggestion $PROCESS$ @@:echo $ORACLE_SID
on our Linux server on an Active Link, Windows Loaded Action, Set
fields, and it worked great!
To answer James... "..why you want this to be displayed on a form?"
I am doing this cause I often switch Oracle instances on a Remedy
Application Server so we can use different 'versions' for development,
testing Q/A, training, etc. (and it sure is nice to know which instance
I am using.... I name them AR5DEV, AR5TRN, AR5TST etc... (AR5PRD stays
active on the production server)
Thanks everyone! for your suggestions! - (Getting help from all these
smart people makes even a not so smart guy like me look good!)
If your server has the Oracle SID as an environment variable you can do
a simple set fields
from a $PROCESS$ command
Unix server
In a Filter set fields value: $PROCESS$ echo $ORACLE_SID
In an Active Link set fields value: $PROCESS$ @@:echo $ORACLE_SID
Windows server
In a Filter set fields value: $PROCESS$ cmd /c echo %ORACLE_SID%
In an Active Link set fields value: $PROCESS$ @@:cmd /c echo
%ORACLE_SID%
If it is not in the environment you could parse the ar.conf/ar.cfg file
instead of the echo
Unix: cat <path>ar.conf|grep Oracle-SID
Windows: type <path>ar.cfg|find Oracle-SID
________________________________
From: Action Request System discussion list(ARSList)
[mailto:***@ARSLIST.ORG] On Behalf Of John.A Simpson-contr
Sent: Thursday, February 03, 2005 2:32 PM
To: ***@ARSLIST.ORG
Subject: How do I get the $ORACLE_SID$ to display
**
Hi All,
Perhaps it is a simple thing....
I would like to be able to display the Oracle SID, (the Admin Tool,
Server Information, Database tab is able to display a value labeled
System ID:
Would someone be able to tell my how I might set a field with this value
for display purposes?
Thanks!
John A. Simpson
TRW Automotive
Information Systems Program Office
Brighton MI USA
john.a.simpson-***@trw.com
810-220-4767
______________________________This posting was submitted via the Web
interface
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:***@arslist.org)
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:***@arslist.org)
I used your suggestion $PROCESS$ @@:echo $ORACLE_SID
on our Linux server on an Active Link, Windows Loaded Action, Set
fields, and it worked great!
To answer James... "..why you want this to be displayed on a form?"
I am doing this cause I often switch Oracle instances on a Remedy
Application Server so we can use different 'versions' for development,
testing Q/A, training, etc. (and it sure is nice to know which instance
I am using.... I name them AR5DEV, AR5TRN, AR5TST etc... (AR5PRD stays
active on the production server)
Thanks everyone! for your suggestions! - (Getting help from all these
smart people makes even a not so smart guy like me look good!)
If your server has the Oracle SID as an environment variable you can do
a simple set fields
from a $PROCESS$ command
Unix server
In a Filter set fields value: $PROCESS$ echo $ORACLE_SID
In an Active Link set fields value: $PROCESS$ @@:echo $ORACLE_SID
Windows server
In a Filter set fields value: $PROCESS$ cmd /c echo %ORACLE_SID%
In an Active Link set fields value: $PROCESS$ @@:cmd /c echo
%ORACLE_SID%
If it is not in the environment you could parse the ar.conf/ar.cfg file
instead of the echo
Unix: cat <path>ar.conf|grep Oracle-SID
Windows: type <path>ar.cfg|find Oracle-SID
________________________________
From: Action Request System discussion list(ARSList)
[mailto:***@ARSLIST.ORG] On Behalf Of John.A Simpson-contr
Sent: Thursday, February 03, 2005 2:32 PM
To: ***@ARSLIST.ORG
Subject: How do I get the $ORACLE_SID$ to display
**
Hi All,
Perhaps it is a simple thing....
I would like to be able to display the Oracle SID, (the Admin Tool,
Server Information, Database tab is able to display a value labeled
System ID:
Would someone be able to tell my how I might set a field with this value
for display purposes?
Thanks!
John A. Simpson
TRW Automotive
Information Systems Program Office
Brighton MI USA
john.a.simpson-***@trw.com
810-220-4767
______________________________This posting was submitted via the Web
interface
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:***@arslist.org)
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:***@arslist.org)