No Key Change Index

 7 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
Angela Collins
Basic Member
Posts: 20
Basic Member
    I need a custom index on APVENMAST by Tax ID and Tax ID Type.  When I created it originally, I didn't set it up as a key change index.  It failed.  I change the yes to a no, did a blddbdict, and no changes were picked up.  I tried deleting the index and starting all over.  I just do not seem to get the index fixed.  Is there a trick to this in 9.0.1.7?
    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      Doesn't a blddbdict need to be followed by a dbreorg for the changes to become effeective?
      John Henley
      Posts: 3353
        What do you mean by "no changes were picked up"? =
        Thanks for using the LawsonGuru.com forums!
        John
        John Henley
        Posts: 3353
          You should also recompile any programs that use your index. =
          Thanks for using the LawsonGuru.com forums!
          John
          Angela Collins
          Basic Member
          Posts: 20
          Basic Member
            When I change the value from Yes to No and do a blddbdict, there are no changes. 
            John Henley
            Posts: 3353
              No changes where? In the database?=
              Thanks for using the LawsonGuru.com forums!
              John
              CindyW
              Veteran Member
              Posts: 169
              Veteran Member
                I'm assuming he means that there was no + dictionary file created.  We've run into this a few times now with indexes...and often, depending upon what it is that is being changed, we have to "force" a + file.  In other words....make a different, obvious change, do the blddbdict/reorg, then remove that change, and add your custom change, and then do the blddbdict/reorg again.  That will pick it up.
                John Henley
                Posts: 3353
                  In the case of a key change, I don't believe there is any change made to the database; key change is supported by all databases now supported by LSF9, so there really is nothing that gets implemented in the database, therefore no + dictionary and/or dbreorg required. The key change logic is implemented by the Lawson database layer; just make sure you recompile any affected programs, and that should be all that is needed.
                  Thanks for using the LawsonGuru.com forums!
                  John