- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pass IN OUT variable parameter
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
тАО04-04-2005 02:44 AM
тАО04-04-2005 02:44 AM
Pass IN OUT variable parameter
I'm executing the Shell script with IN OUT PARAMETERS, Im UNABLE TO return the values:
Here is the exectuion os shell script:
define sTicket='A456';
define sUtime=$Utime
execute sp_aloghistorydw2($Time,:sTicket,:sUtime);
$Ticket=:sTicket
$Utime=:sUtime
I'm getting "no value", when I expect to see the value in ":sTicket" and ":sUtime" variable.
Please shed some ideas on this ..
- Tags:
- SQL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 03:00 AM
тАО04-04-2005 03:00 AM
Re: Pass IN OUT variable parameter
WHat shell are you using?
what does sp_aloghistorydw2 do ??
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 03:01 AM
тАО04-04-2005 03:01 AM
Re: Pass IN OUT variable parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 03:04 AM
тАО04-04-2005 03:04 AM
Re: Pass IN OUT variable parameter
One thing I notice is that you seem to be trying to change the value in a parent process by executing something as a child process -- that's never going to work in UNIX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2005 03:27 AM
тАО04-04-2005 03:27 AM
Re: Pass IN OUT variable parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 04:36 AM
тАО04-05-2005 04:36 AM
Re: Pass IN OUT variable parameter
The parent script is Shell script called using C shell.
Passing the parameter is for using Oracle SQL script .
Please see the attachment .
It has shell script calling .sql Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2005 05:07 AM
тАО04-05-2005 05:07 AM