Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Posts
    5

    Unanswered: Sqlldr and output

    Hello

    I have a problem with the function sqlldr. In fact i don't want to have errors in the standard output. This is my code. I use sqlldr with a bad Database name to see if i have errors in the standard output. So i have it. I want to supress it do you how i can do this?

    sqlldr userid="${gUtilBD}@${gConnBD}" control=$gFicCtl log=$lFicLog bad=$lFicBad \
    discard=$lFicDsc silent=\(header, feedback\) skip=0 data=$lFicDon >/dev/null << EOF ${gMdpBD}
    EOF


    Thanks a lot.
    Bye

  2. #2
    Join Date
    Oct 2002
    Location
    greenwich.ct.us
    Posts
    279
    Are your errors going to stderr or stdout? Anyway, you can use:
    sqlldr ... > /dev/null 2>&1 << EOF

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •