User Profile

Collapse

Profile Sidebar

Collapse
ilikesuresh
ilikesuresh
Last Activity: Jun 23 '08, 06:15 PM
Joined: Aug 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ilikesuresh
    replied to Clarify Me
    Hi,
    i modify my program to
    Code:
    $SQLPLUS -S $sql_user_name/$sql_user_pwd@$sql_service
    --set head off;
    --set echo off;
    --set serveroutput on;
    begin
    for name in `cat $INPUT_FILE`
    do
        
        insert into numbers(select number from numberdb
        where name =&1);
        $name
        END LOOP;
        EOF
    done
    When i run this program...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    replied to Clarify Me
    Hi,
    Thanks for your assistance.I tried the above way and its displaying the following error.

    SP2-0223: No lines in SQL buffer.

    Please assist me to solve the issue!!!...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    started a topic Clarify Me

    Clarify Me

    Hi all,
    I have written athe following program to execute a procedure number of times using korn shell scripting

    Code:
      
          for number in `cat $INPUT_FILE`
             do
                $SQLPLUS -S $sql_user_name/$sql_user_pwd@$sql_service <<EOF 1>>$LOG_FILE 2>>$LOG_FILE   
              set head off;   
              set echo off;
               set serveroutput on;
    ...
    See more | Go to post

  • ilikesuresh
    replied to Running C++ file
    Even though i compile the file with the same syntax that specified above will not work.I am getting the same error....
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    started a topic Running C++ file

    Running C++ file

    Hi,
    I wrote the following c++ program in solaris.
    For compilation i use,
    g++ dup.cpp
    command.But while executing like ./dup or dup ,the error i am getting is
    ld.so.1: dup: fatal: libstdc++.so.5: open failed: No such file or directory
    Killed

    Tell me the reason for this and Is there any other way to execute the cpp program?
    clarify me
    See more | Go to post

  • ilikesuresh
    started a topic Clarify Me

    Clarify Me

    Hi,

    I am working as a ProC(solaris platform) developer in an reputed organization.
    I want to do some certificate courses that should increase my credentials.
    But i have no idea abt it.
    Please clarify me ,what kind of courses are there and which are them are suitable for my skill set.
    See more | Go to post

  • ilikesuresh
    started a topic problem with executing procedure

    problem with executing procedure

    Hi all,
    I have written athe following program to execute a procedure number of times using korn shell scripting
    Code:
    for number in `cat $INPUT_FILE`
    do
       $SQLPLUS -S $sql_user_name/$sql_user_pwd@$sql_service <<EOF 1>>$LOG_FILE 2>>$LOG_FILE
        set head off;
        set echo off;
        set serveroutput on;
        exec number_names(&1);
        $number
        EOF
    ...
    See more | Go to post

  • ilikesuresh
    started a topic view file using shell scripting

    view file using shell scripting

    Hi,
    My requirement is to view the certain file from unix shell(korn).
    What i did is
    Code:
    $SQLPLUS -S $sql_user_name/$sql_user_pwd@$sql_service
    exec emp_history();
    commit;
    .
    .
    .
    vi /suresh/emp_his.txt
    After executing the procedure,the procedure is updating certain things in to a file.I want to see this updation with out quiting the program.Then finally the control will...
    See more | Go to post

  • ilikesuresh
    started a topic find time difference

    find time difference

    Hi,
    I need a korn shell scripting program to find out the difference
    between 2 time values (including h,m,sec,)

    Plz help me out.....
    See more | Go to post

  • ilikesuresh
    replied to Filter Special Characters
    in C
    The characters other than [a-z] and [A-Z] are special characters right?
    I want to allow only these characters in my program. If you type other than this ,
    I need a way to find and filter or notify the user to type other than these characters...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    started a topic Filter Special Characters
    in C

    Filter Special Characters

    Hi,
    I need a way to remove special characters in C.
    do you have any way other than checking ascii values?

    Please let me Know

    Thanks in advance
    See more | Go to post

  • ilikesuresh
    replied to problem while Reading from file
    in C
    I tried.
    But when i print the str it print the blank between 2 strings


    Code:
    printf("[%s]",str);
    The output like this

    [123456]
    []
    [626129]
    []
    [534789]
    [[]
    .
    .
    .
    ....
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    replied to problem while Reading from file
    in C
    Ya i have tried and not able to get exact data.
    Is there any other way in C to achieve this task?...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    replied to problem while Reading from file
    in C
    No.
    I got the substring value in my C side and give it to sql query.
    i will thankfull if you give the syntax and example to perform the substr operation
    in sql side....
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    replied to problem while Reading from file
    in C
    Yes The length is same in all columns.
    This is what i did.

    Code:
         while(fread(dest,1,11,fp)!= NULL)
            {
            dest[10] = 0;
            strncpy(acc_id.arr,dest,10);
            acc_id.len = strlen(acc_id.arr);
    ...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    replied to problem while Reading from file
    in C
    Fine i did it.But it is not worked yet.

    this is what i did

    Code:
     while(fread(dest,1,11,fp)!= NULL)
            {
            dest[10] = 0;
            strncpy(pincode,dest,10);
            length = strlen(pincode);
            .
            .
            .
    ...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    started a topic problem while Reading from file
    in C

    problem while Reading from file

    Hi,
    i have written a program in pro C to read line by line from file(each line is string)
    and given to sql query in where condition. What the problem i have faced is when i read from file a line it also read a new line character.So when i give this string to sql query it displays no records exists for this condition.

    Code:
    while(fgets(pincodefromfile,6,fp)!= NULL)
    {
      EXEC SQL 
      Select * from
    ...
    See more | Go to post

  • ilikesuresh
    replied to Symbol Referencing Errors
    in C
    But this printw is system defined function,Right?
    If it is the case why we need to include the code ?...
    See more | Go to post

    Leave a comment:


  • ilikesuresh
    started a topic Symbol Referencing Errors
    in C

    Symbol Referencing Errors

    Hi
    I have written the following program
    But when i compile
    i got
    Undefined first referenced
    symbol in file
    wmove screen.o
    initscr32 screen.o
    endwin screen.o
    printw screen.o
    stdscr screen.o
    ...
    See more | Go to post

  • ilikesuresh
    replied to Pro C error
    in C
    I have use only one file, not more than this...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...