Hi friends,
I have to do the following things :
1) there should be a shell script returning the returning the return code of the script. and i have to add some more details like on which machine is has run , at what time and other details and then using plsql i have to add a row to Oracle... (3 Replies)
Hi all,
I have a interresting problem. My application is as follows:
From a shell script i will conn to a oracle database and fetch few rows using a select statement.
Then i want to sort these rows and return a column (collection of values of a column from the selected results) as array... (3 Replies)
I am using the following code in my shell script
list=`sqlplus -s $user/$pwd@$dbms<<EOF
WHENEVER SQLERROR EXIT SQL.SQLCODE
set pagesize 0 feedback off verify off heading off echo off
select * from control_tbl
where src_nm=$3
and extrct_nm=$4;
exit SQL.SQLCODE;
EOF`
ERROR=$?... (1 Reply)
hi
I am very new to UNIX.
I need to retrieve data from a unix system and store it and display as output on a windows system.
Initiation of procedure is through JAVASCRIPT-based buttons on a HTML page.
This should cause a set of commands to run which colllect data from a unix based server and... (1 Reply)
All,
I am using Sun Solaris and Oracle 10g.
I have a simple shell script returning a value.
#!/usr/bin/ksh
dummyvar=`sqlplus -s '/as sysdba' <<END
set feedback off;
set verify off;
set serveroutput on;
select num from scott.num1;
END`
echo $dummyvar
For the above script - i... (5 Replies)
Hi
I'm writing a shell script that connects to oracle database and fires query to check the availability of data in a table. In case of no data found then what will be the return code and how to handle in that in variable. Kindly provide with an example for better understanding... Thanks... (1 Reply)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
hi
i am calling a oracle stored procedure(in the database) from unix shell scripting (a.sh).
the called stored procedure returns some values through OUT variables
i want to assign the return values of stored procedure in to unix shell script variable.
can you provide me the code.
... (1 Reply)
I am using mutt on ksh Unix to send emails to addresses plucked from the database. If the "To:" email address is not longer valid and so the email is not sent to the "To:" recipient, but is sent to the valid cc address, I need to be able to get an error code returned to the shell script so that... (3 Replies)
Hi,
Can anyone help me how to exit a shell script if a unix command inside does not return any value for 10 seconds?
The scenarios is like this.
I want to login to a application using shell script where the connection string is mentioned.but suppose this connection string is not... (10 Replies)
Discussion started by: arijitsaha
10 Replies
LEARN ABOUT HPUX
xtmenupopdown
XtMenuPopdown() XtMenuPopdown()
Name
XtMenuPopdown - built-in action for popping down a widget.
Synopsis (Translation Table)
<Event sequence>: XtMenuPopdown([shell])
Inputs
shell An optional argument which specifies the name of the shell to pop down.
Availability
This action is named MenuPopdown 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. If passed an argument, that argument is interpreted as a shell name, and XtMenuPopdown tries to find the named shell by
looking up the widget tree starting at the parent of the widget in which it is invoked. If it finds a shell with the specified name in the
popup children of that parent, it pops down the shell by calling XtPopdown(); otherwise, it moves up the parent chain as needed. If
XtMenuPopdown gets to the application top-level shell widget and cannot find a matching shell, it generates a warning and returns immedi-
ately. If XtMenuPopdown is called with no argument, it calls XtPopdown() on the widget for which the translation is specified.
Usage
Note that XtMenuPopdown is an action procedure; you cannot call it from C code.
The action name MenuPopdown is a synonym for XtMenuPopdown. Either action can be used to pop down menus or other popup shells.
Popup shells can also be popped down by calling XtPopdown() explicitly, or by using the predefined callback procedure XtCallbackPopdown().
The action XtMenuPopup can be used to pop up a spring-loaded popup from a translation table.
See AlsoXtCallbackPopdown(1), XtMenuPopup(1), XtPopDown(1), XtPopup(1), XtPopupSpringLoaded(1).
Xt - Pop Ups XtMenuPopdown()