Results 1 to 1 of 1
  1. #1
    Join Date
    Sep 2002
    Posts
    1

    Unanswered: BCP in CT-Library.

    Hi,

    I need to develop a BCP utility using Sybase CT-Library/C 11.x. I have

    gone through the example program from Sybase, "arraybind.c" which does

    BCP IN. This program works fine when I run.

    As I have seen in all examples from Sybase, it defines the variables

    and then binds the columns of table to them.

    According to my requirement, the variables and their datatypes are

    known at runtime only. (I can read them from Format File). How can I

    accomplish this? Is there any other way I can add the variables

    alongwith their datatypes to array at runtime? I am attaching the program here.

    Thanks in advance for any help.
    Archana.
    Attached Files Attached Files

Posting Permissions

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