10 More Discussions You Might Find Interesting
1. How to Post in the The UNIX and Linux Forums
Hi, I am new to shell scripting and Sybase database i need a help that i try to execute a SYBASE stored procedure from a Unix shell script and wanna write the output of the SP into a Text File.somehow i try to find a solution but whwn i try to run the script i am not getting the output file with... (1 Reply)
Discussion started by: Arun619
1 Replies
2. Shell Programming and Scripting
Hi,
I am using sql server 2008 version and invoking the stored procedure using unix script. I want to know the procedure of killing the stored procedure in sql server.
If I kill -9 the unix script will it also terminate the process at the SQL server. When I executed the kill -9 PID in unix... (2 Replies)
Discussion started by: Rahul Raj
2 Replies
3. Shell Programming and Scripting
Friends,
I'm newbie with ksh so wanting some help....
1. I'm trying to call oracle stored procedure from ksh script by taking variable value from runtime, feed into script and execute procedure.
2. Put name1 and name2 value from script run replacing $3 & $4
I'm trying to put name1 in... (4 Replies)
Discussion started by: homer4all
4 Replies
4. Shell Programming and Scripting
Hi
i want to call a oracle stored procedure from unix (using bash shell).
consider this is my oracle stored procedure with parameter
create procedure testproc(name IN varchar, age IN Number, id OUT Number )
AS
begin
id=1;
dbms_output.put.line('successfull validation')
end;... (6 Replies)
Discussion started by: barani75
6 Replies
5. Shell Programming and Scripting
Hi Guys,
I have a stored procedure which has 5 out parameters. I need to call the stored procedure from the script.
When i use the following in my script,
db2 "CALL FCFM.PART_MASTER_TMP($Return_code,$Message,$Message1,$SQL,$Load_count)" >> $LOG_FILE
I am getting an error..
Please... (1 Reply)
Discussion started by: mac4rfree
1 Replies
6. Shell Programming and Scripting
Hi
I have a stored procedure which should be called from KSH.
Could ayone please help me with this.
Thanks (1 Reply)
Discussion started by: BlAhEr
1 Replies
7. Shell Programming and Scripting
hai,
can anybody say how to call or to execute an oracle stored procedure in oracle from unix...
thanks in advance.... for ur reply....
by,
leo (2 Replies)
Discussion started by: Leojhose
2 Replies
8. Shell Programming and Scripting
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)
Discussion started by: dorisw
3 Replies
9. Shell Programming and Scripting
Hi,
Can anyone help me with the correct syntax to call a MYSQL stored procedure from a shell script.
I have tried the following, (no input params):
/usr/bin/mysql -uadmin -ppassword call TL_CLENSEDATA();
resulting in error:
/home/hosting/data/scripts/dbclense.sh: line 12: syntax error... (3 Replies)
Discussion started by: kshelluser
3 Replies
10. Shell Programming and Scripting
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)
Discussion started by: priyamurthy2005
2 Replies
XtGetActionKeysym() XtGetActionKeysym()
Name
XtGetActionKeysym - retrieve the keysym and modifiers that matched the final event specification in the translation table entry.
Synopsis
KeySym XtGetActionKeysym(event, modifiers_return)
XEvent *event;
Modifiers *modifiers_return;
Inputs
event Specifies the event pointer passed to the action procedure by the Intrinsics.
Outputs
modifiers_return
Returns the modifier state actually used to generate the returned keysym. You may pass NULL if you are not interested in the modi-
fiers.
Returns
The keysym of the final event specification in the translation table entry that dispatched the current action, or NoSymbol.
Availability
Release 4 and later.
Description
XtGetActionKeysym() returns the keysym of the final event specification in the translation table entry that invoked the current action,
provided that:
o XtGetActionKeysym() is called after an action procedure has been invoked by the Intrinsics and before that action procedure returns,
o the event pointer has the same value as the event pointer passed to that action routine, and
o the event is a KeyPress or a KeyRelease.
XtGetActionKeysym() also returns the modifiers actually used to generate this keysym if modifiers_return is non-NULL.
If XtGetActionKeysym() is not called from an action procedure, or if event does not match the event that invoked the action, but if the
event is a KeyPress or KeyRelease, then XtGetActionKeysym() calls XtTranslateKeycode() and returns the results.
If the event is not a KeyPress or KeyRelease, then XtGetActionKeysym() returns NoSymbol and does not examine modifiers_return.
Note that if an action procedure which was invoked by the Intrinsics invokes a subsequent action procedure (and so on) via XtCallAction-
Proc(), the nested action procedure may also call XtGetActionKeysym() to retrieve the Intrinsics' keysym and modifiers.
Usage
You should only call XtGetActionKeysym() from within an action procedure. When an action procedure is invoked on a KeyPress or KeyRelease
event, it often has a need to retrieve the keysym and modifiers corresponding to the event that caused it to be invoked. In order to avoid
repeating the processing that was just performed by the Intrinsics to match the translation entry, the keysym and modifiers are stored for
the duration of the action procedure and can be obtained with this function.
Structures
A KeySym is an X server resource:
typedef XID KeySym;
The Modifiers type and its possible values are as follows:
typedef unsigned int Modifiers;
#define ShiftMask (1<<0)
#define LockMask (1<<1)
#define ControlMask (1<<2)
#define Mod1Mask (1<<3)
#define Mod2Mask (1<<4)
#define Mod3Mask (1<<5)
#define Mod4Mask (1<<6)
#define Mod5Mask (1<<7)
See Also
XtActionProc(1), XtAppAddActions(1), XtTranslateKeycode(1).
Xt - Translations and Actions XtGetActionKeysym()