Results 1 to 3 of 3

Thread: asnload compile

  1. #1
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11

    Answered: asnload compile

    facing a problem with area I am not familiar ..
    trying to modify the ASNLOAD program to use copy yes
    db2 10.5 ese on linux
    following the ASNLOAD smp and programming guide
    I only changed the ASNLOAD.ini to specify the copy yes and copy path for my database
    invoking the build of utilemb as indicated
    ./bldapp utilemb TESTDB m999gpr xxxxxxxx
    the connect is ok - precompile - bind is done = ok
    many messages similar to

    utilemb.o: In function `SqlInfoPrint':
    utilemb.c.text+0x0): multiple definition of `SqlInfoPrint'
    utilemb.o:utilemb.c.text+0x0): first defined here
    utilemb.o: In function `CmdLineArgsCheck1':
    utilemb.c.text+0x36a): multiple definition of `CmdLineArgsCheck1'
    utilemb.o:utilemb.c.text+0x36a): first defined here
    utilemb.o: In function `CmdLineArgsCheck2':

    and these when building ASNLOAD
    In file included from ASNLOAD.sqc:275:
    asnparseini.C:70: error: ‘FALSE’ undeclared here (not in a function)
    asnparseini.C: In function ‘read_multiple_valuelines’:
    asnparseini.C:625: error: ‘TRUE’ undeclared (first use in this function)
    asnparseini.C:625: error: (Each undeclared identifier is reported only once
    ...

    has anybody already tested this or familiar with this kind of build
    any hint would be welcome as I am not a programmer and very familiar with compile/link...
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  2. Best Answer
    Posted by db2mor

    "Just curious if registry variable DB2_LOAD_COPY_NO_OVERRIDE would make rebuilding asnload redundant ?"


  3. #2
    Join Date
    Apr 2012
    Posts
    1,034
    Provided Answers: 18
    Just curious if registry variable DB2_LOAD_COPY_NO_OVERRIDE would make rebuilding asnload redundant ?

  4. #3
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    many thanks for the update
    used db2set with setting and yes, I can see the copy file in the specified directory
    this is even easier than struggling with user exit
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

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