Current File:
XXX
Rows found with null for one or more non-nullable columns in the source table
OUTPUT FILE
Rows found with null for one or more non-nullable columns in the source table
Please help me
Moderator's Comments:
Please use next time code tags for your code and data
hi! I am a newbee. I would really appreciate if you can answer the following question:
I have a huge data file, 214MB with several coloumns. I need to delete the very last line of the file. Everything I know takes a lot of time to do it ( because I have to open the file in an editor or run a... (3 Replies)
Hi,
I am in a situation wherein am getting file file certailn values
suppose
1u56979hhghhklklkkkjkjkjk 0 0 0
The file will have values like above only.
I need to add another field of NULL value(of length 9) at the end of first column i.e.
It should like this after editing:... (4 Replies)
I have created a file with vi -x (file name) this is encrypted file when i again open this file it ask me to enter a password before editing it.Can i remove this password but i don't want to delete a file how to do this.
Thanks (0 Replies)
Hi all,
I have a file with following contents
# rad124
# radkus
# raddebug
# radtrace
I could like to remove the # and space present before the key word "rad".
Any ways to do this using "subsitution method(:%s/old/new/g)" will be hepful. (1 Reply)
Hi,
I am having a file which is fix length and comma seperated. And I want to replace values for one column.
I am reading file line by line in variable $LINE and then replacing the string.
Problem is after changing value and writing new file temp5.txt, formating of original file is getting... (8 Replies)
I have a text file that has data like:
Data "12345#22"
Fred
ID 12345
Age 45
Wilma
Dino
Data "123#22"
Tarzan
ID 123
Age 33
Jane
I need to figure out a way of adding 1,000,000 to the specific lines (always same format) in the file, so it becomes:
Data "1012345#22"
Fred
ID... (16 Replies)
I have a file which has 10 million records in it. When am trying to edit the file with vi, the following error occurs:
~
~
~
~
~
~
~
~
"file1" Value too large for defined data type
Is there any way that I can edit this file without using vi? Any help would be really appreciated.... (8 Replies)
Dear Guru's
I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response.
Srini (6 Replies)
Discussion started by: thummi9090
6 Replies
LEARN ABOUT HPUX
lsearch
lsearch(3C)lsearch(3C)NAME
lsearch(), lfind() - linear search and update
SYNOPSIS DESCRIPTION
is a linear search routine generalized from Knuth (6.1) Algorithm S.
It returns a pointer into a table indicating where a datum may be found. If the datum does not occur, it is added at the
end of the table.
key Points to the datum to be sought in the table.
base Points to the first element in the table.
nelp Points to an integer containing the current number of elements in the table. The integer is incremented
if the datum is added to the table.
compar Name of the comparison function which the user must supply for example). It is called with two argu-
ments that point to the elements being compared. The function must return zero if the elements are
equal and non-zero otherwise.
Same as except that if the datum is not found, it is not added to the table. Instead, a NULL pointer is returned.
Notes
The pointers to the key and the element at the base of the table should be of type pointer-to-element, and cast to type pointer-to-charac-
ter.
The comparison function need not compare every byte, so arbitrary data may be contained in the elements in addition to the values being
compared.
Although declared as type pointer-to-character, the value returned should be cast into type pointer-to-element.
EXAMPLES
This code fragment reads in <= strings of length <= and stores them in a table, eliminating duplicates.
...
...
RETURN VALUE
If the searched-for datum is found, both and return a pointer to it. Otherwise, returns NULL and returns a pointer to the newly added ele-
ment.
WARNINGS
Undefined results can occur if there is not enough room in the table to add a new item.
SEE ALSO bsearch(3C), hsearch(3C), tsearch(3C), thread_safety(5).
STANDARDS CONFORMANCE lsearch(3C)