Hi All,
This is a very starnge problem I am having. I have a shell script that calls a stored procedure.
Here's my code in shell script:
sqlplus "userid/pwd" @file.sql
and file.sql has the following statement:
exec my_storedProc;
Now, when I execute my shell script, nothing... (2 Replies)
I have a db2 stored procedure on my database which require 3 parameters, I have the following db2 command in a sql script
CONNECT TO SAMPLE;
CALL BACKUP(INPUT_1, INPUT_2, INPUT3);
Usually, I would just invoke this sql script from my shell script like below
db2 -tf... (1 Reply)
HI,
I have a similar problem to thread 18264, only I couldn't get it to work.
https://www.unix.com/showthread.php?t=18264
I have a stored procedure which is called by a shell script program. When I run the stored procedure alone or through the shell script, it works fine with output text... (3 Replies)
hi all
please tell me how to pass parameters 4m shell script to a DataBase stored procedure.
To be specific i have sybase DB.
i mean i want the syntax of the command..
how to connect to DB, pass user id and password, pass the required parameter to SP..
..
need ur help frnds..
hema (0 Replies)
I am invoking a SQL script from shell script. This SQL script will invoke a stored procedure(which has the OUT parameter). I want to have the OUT parameter in the shell script as a variable. Is this possible? (6 Replies)
Hello all,
I am trying to run stored procrdure from shell script which takes one argument. And also I want to verify in the script whether the script executed successfully. However the Stored procedure is not running from shell script. Manually if I run it update the data in the table.
Can... (29 Replies)
Discussion started by: PriyaSri
29 Replies
LEARN ABOUT HPUX
xtcallbacka
XtCallbackNone() XtCallbackNone()
Name
XtCallbackNone - callback function to pop up a widget.
Synopsis
void XtCallbackNone(w, client_data, call_data)
Widget w;
XtPointer client_data;
XtPointer call_data;
Inputs
w Specifies the widget.
client_data
Specifies the popup shell.
call_data Specifies the callback data, which is not used by this procedure.
Description
XtCallbackNone() calls XtPopup() on the widget passed in the client_data argument with grab_mode set to XtGrabNone. Then it calls XtSet-
Sensitive() on w to make that widget insensitive.
XtCallbackNone() is a convenience procedure designed to be registered on a widget's callback list (which is why it has a third, unused
argument). The widget to be popped up should be registered as client_data for the callback. The reason that this callback makes its
invoking widget insensitive is so that the user cannot request to popup the shell again while it is already up.
Usage
To popup a shell with an exclusive grab or with no grab at all, you can use XtCallbackExclusive() or XtCallbackNone(). To popdown a shell
from a callback, use XtCallbackPopdown().
Note that this function does not attempt to place the popup shell at any particular location, and for that reason may not be appropriate in
many circumstances.
It is also possible to pop up a shell with the XtMenuPopup action.
Example
To arrange for the shell pshell to be popped up when the user clicks on the button widget button, you would use code like the following:
XtAddCallback(button,XtNcallback,XtCallbackNone,pshell);
A companion example is presented on the XtCallbackPopdown() reference page.
See AlsoXtCallbackExclusive(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSet-
Sensitive(1).
Xt - Pop Ups XtCallbackNone()