03-28-2012
As pointed out from the beginning, you need a "/" before the "exit;". You claimed that it didn't make a difference. But it definitely has to be there.
This User Gave Thanks to binlib For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends,
i am having a variable declared in .profile.i am changing its value in a shell script and then i am connecting to oracle and then from there i am calling a .sql called update.sql
STATUS is the variable declared in the .profile
===============================
if
sqlplus <<END... (3 Replies)
Discussion started by: sveera
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a requirement where in I have to connect to an Unix database server using SFTP. After connecting I have to write some data to one of the tables in UNIX.
Can anyone tell me the UNIX commands to open and update database table.
Thanks,
Pallavi (1 Reply)
Discussion started by: Pallavi_gondkar
1 Replies
3. Shell Programming and Scripting
Hi,
Data file path (.txt)
Control file(.ctl)
I have delimited file(|).
Sample data:
1|name|50009|DS24|0|12
2|name|30009|DS24|0|13
3|name|20409|DS24|0|14
4|name|20009|DS24|0|15
5|name|10009|DS24|0|16
I want to load this data into a oracle table (update and insert)
Please help me... (1 Reply)
Discussion started by: unihp1
1 Replies
4. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
5. Shell Programming and Scripting
Hi,
I have the following requirement.
I have a unix table as below
progname par1 par2 par3 par4
PROG1 abc def 0012 ooo
PROG2 wed xas 0100 xxx
PROG3 kkk ppp 0004 ppp
Different programs(ex:PROG1,PROG2..) accesses this table and update... (5 Replies)
Discussion started by: thanuman
5 Replies
6. Shell Programming and Scripting
Hi
I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.)
I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
Discussion started by: aemunathan
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I'm working with putty on Windows 7 professional and I'd like to know if there's a way to gather specific lines from a pre-existing table and make a new table with that information.
More specifically, I'd like the program to look at a specific column, say column N, and see if any of the... (5 Replies)
Discussion started by: Deedee393
5 Replies
8. Shell Programming and Scripting
I am new to this shell scripting....
I have a file which contains list of users. This files get updated when new user comes into the system.
I want to create script which will give a table containing unique list of users. When I say unique, it means script should match table while parsing... (3 Replies)
Discussion started by: dchavan1901
3 Replies
9. Shell Programming and Scripting
I have 100 Scripts, each containing 10-15 SQL's in them.
Each Script run for 40 mins to 1 hour 30 mins.
In the event of Failure in any step, if i re-start the Script, it will start running from the beginning. Which is waste of time. So in order handle this, i made the script to run from the... (7 Replies)
Discussion started by: kiran1992
7 Replies
10. Web Development
Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer:
<script>
$(function(){
$('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
memory(3C) memory(3C)
NAME
memory: memccpy(), memchr(), memcmp(), memcpy(), memmove(), memset(), bcmp(), bcopy(), bzero(), ffs() - memory operations
SYNOPSIS
Remarks
and are provided solely for portability of BSD applications, and are not recommended for new applications where portability is important.
For portable applications, use and respectively. has no portable equivalent.
DESCRIPTION
These functions operate as efficiently as possible on memory areas (arrays of bytes bounded by a count, not terminated by a null byte).
They do not check for the overflow of any receiving memory area.
Definitions for all these functions, the type and the constant are provided in the header file.
Copy bytes from the object pointed to by
s2 into the object pointed to by s1, stopping after the first occurrence of byte c has been copied, or after n bytes have
been copied, whichever comes first. If copying takes place between objects that overlap, the behavior is undefined.
returns a pointer to the byte after the copy of c in s1, or a NULL pointer if c was not found in the first n bytes of s2.
Locate the first occurrence of
c (converted to an in the initial n bytes (each interpreted as of the object pointed to by s. returns a pointer to the
located byte, or a NULL pointer if the byte does not occur in the object.
Compare the first
n bytes of the object pointed to by s1 to the first n bytes of the object pointed to by s2. returns an integer greater
than, equal to, or less than zero, according to whether the object pointed to by s1 is greater than, equal to, or less than
the object pointed to by s2. The sign of a non-zero return value is determined by the sign of the difference between the
values of the first pair of bytes (both interpreted as that differ in the objects being compared.
Copy n bytes from the object pointed to by s2 into the object pointed to by s1. If copying takes place between objects that
overlap, the behavior is undefined. returns the value of s1.
Copy n bytes from the object pointed to by s2 into the object pointed to by s1. Copying takes place as if the n bytes from the
object pointed to by s2 are first copied into a temporary array of n bytes that does not overlap the objects pointed to by
s1 and s2, and then the n bytes from the temporary array are copied into the object pointed to by s1. returns the value of
s1.
Copy the value of
c (converted to an into each of the first n bytes of the object pointed to by s. returns the value of s.
copies n bytes from the area pointed to by s1 to the area pointed to by s2.
Compare the first
n bytes of the area pointed to by s1 with the area pointed to by s2. returns zero if they are identical; non-zero other-
wise. Both areas are assumed to be n bytes in length.
Clear n bytes in the area pointed to by s by setting them to zero.
Find the first bit set
(beginning with the least significant bit) and return the index of that bit. Bits are numbered starting at one. A return
value of 0 indicates that i is zero.
International Code Set Support
These functions support only single-byte byte code sets.
WARNINGS
The functions defined in were previously defined in
FILES
SEE ALSO
string(3C), thread_safety(5), glossary(9).
STANDARDS CONFORMANCE
memory(3C)