Search:

Type: Posts; User: anwar_pat

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,253

    Actually my requirement is bit different....

    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...
  2. Replies
    3
    Views
    1,253

    sed programming Help need..

    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...
  3. Replies
    2
    Views
    10,721

    How to compile Pro*C code on Linux..

    << 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...
  4. Replies
    2
    Views
    3,465

    thnx a lot . i was nt using -lpthread while...

    thnx a lot . i was nt using -lpthread while compiling.Now its running fine.
  5. Replies
    2
    Views
    3,465

    pthread_create() Problem..

    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...
  6. Replies
    4
    Views
    1,076

    as i mention the output file is containing 1...

    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...
  7. Replies
    4
    Views
    1,076

    Problem with program..

    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...
  8. Replies
    11
    Views
    9,217

    I mean i have only one file and to improve the...

    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...
  9. Replies
    11
    Views
    9,217

    thnx fr quick response.Sorry i ddnt get.what...

    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...
  10. Replies
    11
    Views
    9,217

    How to Parallel reading flat file into C ?

    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...
  11. Replies
    2
    Views
    916

    Need Help to with FILE in C

    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,...
  12. How to use Long Data type in Pro*C program.

    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
  13. Internal Error while compiling Pro*C program..

    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.
    ...
  14. Hi Thanks for reply.But i want total size of...

    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
  15. Hi THanks for response. i have tried with...

    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

    ...
  16. C Program to calculate the FILE Size Sytem in Unix

    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.
    ...
  17. Replies
    10
    Views
    5,590

    Hi Thanks for helping.u r right now my program...

    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
  18. Replies
    10
    Views
    5,590

    Hi salem, i have done any now getting following...

    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...
  19. Replies
    10
    Views
    5,590

    But actual the errorno is showing 72 i mean ...

    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.
  20. Replies
    10
    Views
    5,590

    Hi, The error number was 33.Can you tel me...

    Hi,
    The error number was 33.Can you tel me what could be the reason.


    Thanks.
  21. Replies
    10
    Views
    5,590

    Hi , Thnkx for response.But really i didnt get...

    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...
  22. Replies
    10
    Views
    5,590

    Cannot Open FILE-using fopen()

    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...
Results 1 to 22 of 22