your code is works fine but i have a small doubt about this..
How to run plsql code, like
i want to save plsql code in a file like "driver.sql" the parameters of the code is from_date and to_date
I want to execute this script like your code
I have a procedure with an out parameter, I want to use this value in a shell script, I've done this in perl before but they want this to be a ksh script. what is the syntax to do this.
this was my first thought;
#!/usr/bin/ksh
sqlplus -s scott/tiger@db << EOF
... (1 Reply)
Hi ,
i have created an .sh file that has the following code:
#!/bin/ksh
sqlplus -s p1istuat/p1istuat@CWS_IST6 @Procedure_Execute.sql &
sqlplus -s p1istuat/p1istuat@CWS_IST6 << EOF
exit
EOF
The mentioned Procedure_Execute.sql file inside has the following code:
exec TEST;
... (5 Replies)
Hi Guys,
I am trying to tun a oracle proedure throgh unix shell script but it is not running i dont know why ? i have tested this procedure in sqlplus and it was working fine.
can you see the script and sql file and let me know where is my mistake.
script:bm_chart_table_loading.sh
... (3 Replies)
using the script below I want to pass a parameters thorugh my sql
call(@/unixsxxx/xxxx/helpenv.sql emptab ) as input into an oracle procedure xxxx_package.proc1(%1,emptab); . I tried %1 but it does not work. Any suggestions.
#!bin/ksh
set -x
#
export... (0 Replies)
Hi
i am calling a stored procedure from unix shell like this call
test_proc('0002','20100218');
the stored procedure was giving output
like this dbms_output.put_line(' processed earlier');
i want to see the output in the unix shell where i called.
Thanks
barani (6 Replies)
Hi,
Below is the code to execute the procedure "dbms_job.broken" from the shell script.
on executing manually, it works properly without any error.
but it is not working when scheduled using the cronjob.
#!/usr/bin/bash
user_name="oracdb"
password="ora123"
tns="localdb"... (2 Replies)
HI All ,
I am new to oracle procedures. Please help me for the approach to satify the requirement.
I need to create procedures. with parameters passed ( say report,type,identities,country )
It should also call sql query within the procedures and passed parameters should be used in where clause... (2 Replies)
Discussion started by: Perlbaby
2 Replies
LEARN ABOUT HPUX
xtmenupopup
XtMenuPopup() XtMenuPopup()
Name
XtMenuPopup - built-in action for popping up a widget.
Synopsis (Translation Table)
<Event sequence>: XtMenuPopup(shell_name)
Inputs
shell_name
Specifies the name of the widget shell to pop up.
Availability
This action is named MenuPopup prior to Release 4.
Description
XtMenuPopdown is a predefined action procedure which does not have a corresponding public C routine. It can only be invoked from a trans-
lation table.
XtMenuPopup tries to find the named shell by searching the widget tree starting at the widget in which it is invoked. If it finds a shell
with the specified name in the popup children of that widget, it pops up the shell with the appropriate parameters. Otherwise, it moves up
the parent chain to find a popup child with the specified name. If XtMenuPopup gets to the application top-level shell widget and has not
found a matching shell, it generates a warning and returns immediately.
If XtMenuPopup is invoked on ButtonPress, it calls XtPopupSpringLoaded() on the specified shell widget. If XtMenuPopup is invoked on Key-
Press or EnterWindow, it calls XtPopup() on the specified shell widget with grab_kind set to XtGrabNonexclusive. Otherwise, the transla-
tion manager generates a warning message and ignores the action.
XtMenuPopup is specially registered with the translation manager as an action that will invoke a grab. This registration is done by call-
ing XtRegisterGrabAction() specifying owner_events True, event_mask ButtonPressMask ButtonReleaseMask, and pointer_mode and keyboard_mode
GrabModeAsync.
Usage
Note that XtMenuPopup is an action procedure; you cannot call it from C code.
MenuPopup is a synonym for XtMenuPopup.
Popup shells can also be popped up explicitly using XtPopup(), XtPopupSpringLoaded() or one of the predefined popup callback procedures
(see XtCallbackExclusive()).
The action XtMenuPopdown can be used to pop down a shell widget from a translation table.
See AlsoXtMenuPopdown(1), XtPopDown(1), XtPopup(1), XtPopupSpringLoaded(1), XtRegisterGrabAction(1).
Xt - Pop Ups XtMenuPopup()