Actually my requirement is bit different.
Suppose -
"WAIVED/CES "GOOD","WAIVED BASED ON CES & "A" PB","WAIVED BASED ON PB & "A" PAID"
so i want output like
"WAIVED/CES GOOD","WAIVED BASED ON...
Type: Posts; User: anwar_pat
Actually my requirement is bit different.
Suppose -
"WAIVED/CES "GOOD","WAIVED BASED ON CES & "A" PB","WAIVED BASED ON PB & "A" PAID"
so i want output like
"WAIVED/CES GOOD","WAIVED BASED ON...
Hi All,
i need to write a script using sed programming to replace a character into string.I mean i have a file with comma(,) seperated and optionally enclosed(").Now the problem is some of field...
<< moved to Linux Programming>>
Hi All,
I have some Pro*C program those are need to compile and execute on Linux environment.
All those programs are currently running on Unix.I have copied all...
thnx a lot . i was nt using -lpthread while compiling.Now its running fine.
Hi All,
i am getting the following error while compiling the program :
ERROR; return code from pthread_create() is 251
Is anyone have idea what could be the reason or when error number 251...
as i mention the output file is containing 1 record only.But my source file is having 5 records.So, there is no chance the cursor reached at EOF.I have tested with small number also(like 10 char at...
Hi All,
I have written one small program where i m reading one file till the cursor position 200000 and writing into anther file.But its reading only first record and came out.i mean while loop...
I mean i have only one file and to improve the performance i have to read parallely and write into mulutiple files parallel and perform some operations then again merge it.
is it achivable with...
thnx fr quick response.Sorry i ddnt get.what exactly you are trying to say.
my requirement is i have Flat file and i have to read that file parallel(split up)and needs to do some checking and then...
Hi All,
I want to read a c/Pro*c program to read a flat files parallel.Does anyone have any idea about that or By anyluck have implemented.Is it any buiilt in function exist into C ?
Any idea...
Hi,
My requirment is i want to remove the extra comma from the last char of last line of FILE.
that file is open into write mode. basically that file is making a control file for SQL loader.So,...
Hi All
Please anyone have any idea how to use LONG data type or BLOB data type variable into the Pro*C program.
Please help me.THanks in Advance.
Regards,
Anwar
Hi
while compiling i am facing following error :
Pro*C/C++: Release 9.2.0.5.0 - Production on Tue Mar 21 11:49:08 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
...
Hi
Thanks for reply.But i want total size of directory.
i mean free space size also.
is it any way to calculate that.
Thanks
ANwar
Hi
THanks for response. i have tried with stat and fstat also.
but basically my req. is like that
i want to know the following directory
free space and size of the directory sturcture
...
Hi All,
I am trying to write a C program to calculate the Unix FILE System Size and Free Size available in Unix
i am not able to finish program..
is it anyone have any idea or any thought.
...
Hi
Thanks for helping.u r right now my program is working fine for bigger file.
while compiling i have added extra parameter
-D _FILE_OFFSET_BITS=64
thanks once again.
Anwar
Hi salem,
i have done any now getting following error
72 was the error number
Value too large to be stored in data type
Error: Cannot get file properties
that error only comes when my file...
But actual the errorno is showing 72 i mean
printf(" %d was the error number\n", errno);
so its printing 72.
psl let me know do you have any idea,wht could be the reason.
Hi,
The error number was 33.Can you tel me what could be the reason.
Thanks.
Hi ,
Thnkx for response.But really i didnt get what u r trying 2 say.
i m sending my code.Can you look and let me know where exactly require the change..
#include <stdio.h>
int...
Hi All,
I am trying to open a big file of more than 8GB using the fopen().But its giving error.If i will take small file i mean less than of 2GB ascii file its working fine.
I just want to know...