Can anybody help me out in sending parameters from sql*plus script to unix shell script without using flat files..
Initially in a shell script i will call sql*plus and after getting some value from some tables, i want that variable value in unix shell script. How can i do this?
Please tell me... (2 Replies)
Hi,
I have one situation. I am developing a shell script to which parameters will be passed from a Web based User Interface using some Business Process(BP).There are some 6 parameters for which user will enter the values in UI. These values will be passed to script by BP in the form -... (2 Replies)
Hi All,
Requirement is to fetch hostname and instance name using shell script from all configuration files on a server R12 on IBM AIX...
could anyone please share such an experience encountered before.Is there such a script available in this forum or any other site..
Thanks for your time!... (0 Replies)
Hi,
How to fetch data from oracle database in unix shell scripting.
list=`sqlplus -s ds_user/dsuser@EMI <<EOF
set feedback off
set serveroutput on
set heading off
set pagesize 0
set tab off
select IP_ID from table
/
exit
EOF`
The output is not what i expected.I need output in... (4 Replies)
Hi,
I basically have 2 shell scripts.
One is a shell script will get the variable value from the user. The variable is nothing but the IP of the remote system.
Another shell script is a script that does the job of connecting to the remote system using ssh. This uses a expect utility in turn.
... (2 Replies)
hi , I wanted to create a script, and I have no idea how to, and I would appreciate any help on that. Any advice on solving this is welcome. Thanks
Here it goes:
make a shell script in bash that show the activity of users. The results should be a summary or a complete report in a file.... (2 Replies)
I have a program that is designed to take the first parameter (a file extension) and use it to rewrite the file stored in the second paramerter with the new extension. And if the current file does not exist then the program will print an error message "No such file."
For example, my program is... (1 Reply)
Hi
I want to fetch the latest file form the list
example
example= filename RATE_STATE_SETUPS.20151222.ccyymmdd.hhmmss.txt
File pick which have latest ccyymmdd.hhmmss
list of file in directory are
RATE_STATE_SETUPS.20151222.20151222.170101.txt... (5 Replies)
Hi All,
I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them
abc.sh
----------
export Numbr_Parms=$#
export a=1
while
do
export... (3 Replies)
I need to fetch below values from this file. (1 Reply)
Discussion started by: nit42
1 Replies
LEARN ABOUT OPENSOLARIS
libtecla_version
libtecla_version(3TECLA) Interactive Command-line Input Library Functions libtecla_version(3TECLA)NAME
libtecla_version - query libtecla version number
SYNOPSIS
cc [ flag... ] file... -ltecla [ library... ]
#include <libtecla.h>
void libtecla_version(int *major, int *minor, int *micro);
DESCRIPTION
The libtecla_version() function queries for the version number of the library.
On return, this function records the three components of the libtecla version number in *major, *minor, *micro. The formal meaning of the
three components is as follows:
major Incrementing this number implies that a change has been made to the library's public interface that makes it binary incompatible
with programs that were linked with previous shared versions of libtecla.
minor This number is incremented by one whenever additional functionality, such as new functions or modules, are added to the library.
micro This number is incremented whenever modifications to the library are made that make no changes to the public interface, but which
fix bugs and/or improve the behind-the-scenes implementation.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO libtecla(3LIB), attributes(5)SunOS 5.11 1 Jun 2004 libtecla_version(3TECLA)