- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normall...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 05:25 AM
тАО03-01-2010 05:25 AM
Oratcl 4.4 doesn't work on HP-UX 11.31 normally
When I try to use the following Oratcl command, I got no replies.
>tclsh8.4
% set dbh [oralogon scmdb/scmdb]
oratcl0
% set cur [oraopen $dbh]
oratcl0.0
% orasql $cur {select * from scheduling_horizon}
0
% set fetched [orafetch $cur]
0
But in Oratcl3.3 on HP-UX 11.21(Itanium2), I got the following replies.
>tclsh8.4
.....
% set fetched [orafetch $cur]
* * {} {} {} 00-01-01 01-01-04 10-02-16
I can't understand why this phenomenon happens.
Give me an advice that resolve this problem, please.
I use Oratcl4.4 and Oracle 11.2.0.1.0.
Both Application was compiled successfully.
Thanks for you help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 06:50 AM
тАО03-01-2010 06:50 AM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
Check the shell these scripts are trying to use.
I am a little surprised at the shell being used in this case. You might try altering copies of these scripts to use posix or korn shell.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 04:16 PM
тАО03-01-2010 04:16 PM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
Sorry. My explanation was not enough.
I need to use Oratcl and Tcl, because other core application uses Tcl.
What should I check to use Oratcl?
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 10:08 PM
тАО03-01-2010 10:08 PM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
% package require Oratcl
% package names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 10:21 PM
тАО03-01-2010 10:21 PM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
>tclsh8.4
% package require Oratcl
4.5
% package names
http Oratcl Oratcl::utils tcltest msgcat opt Tcl
%
Now I try to use Oratcl4.5 because I hear that I need to use it on Oracle 11g R2.
But same phenomenon happens.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 10:57 PM
тАО03-01-2010 10:57 PM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 11:40 PM
тАО03-01-2010 11:40 PM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
Thank you.
I use Oracle Server 11.2.0.1.0.
But I don't know how to check Oracle client versions.
Please tell me how to check it.
And please tell me details of your similar problem.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 02:20 AM
тАО03-02-2010 02:20 AM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
ORACLE_HOME=/u01/app/oracle/product/10.2.0/client_1
ORACLE_LIBRARY=/u01/app/oracle/product/10.2.0/client_1/lib32/libclntsh.so
ORACLE_SID=CLIENT1
LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/client_1/lib
You can check both oracle client versions on hp-ux 11.23 and 11.31 matches or not.
I talked with our dba but he couldnt remember the problem we had in the past. What i remember is we have hp-ux 11.23 with oracle 9i client and database server was 8i, when they run the oratcl scripts they get 0 value. After patching the database server the problem was solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 07:50 PM
тАО03-02-2010 07:50 PM
Re: Oratcl 4.4 doesn't work on HP-UX 11.31 normally
I solved the problem.
In oratcl4.5, the following descriptions are right.
% orafetch $cur -datavariable fetched
By the following descriptions, I get a return value(0).
% set fetched [orafetch $cur]
Thank you for a reply.