WissDB . since Jun 15 . Index . DOCs TOP TOC

S_ Replace_or_create_DB_DomainValues


 

Component:

S_Replace_or_create_DB_DomainValues

part of C_WissDB_DL_API

Abstract:

This is the function to ask the B_WissDB_Database for a specification of the values allowed for domains that are enumeration types.

Parameters:

§      In: Update

        This is the B_URL to an existing ASCII file in either

        B_Domain_Update_Format 

        or B_XML_Domain_Update_Format [?] .

§      Out: AppErrors

        Is to describe an AppError if the Update file could not be found, could not be read, or did not contain values of type B_Domain_Update_Format or B_XML_Domain_Update_Format [?] .

§      Out: ReturnCode is one of the following values:

–      RC_ok

–      RC_syserror

–      RC_seeAppErrors

 

Has to:

Update the set B_WissDB_Database.E_DomainValues as described in Update.

This is to be done as follows:

§      Values described in the Update file in lines starting with a minus sign will be marked as being obsolete.

§      Values described in the Update file in lines starting with a plus sign will be created using a number not in use so far (not even in use for obsolete values).

 

Because of:

Applications of C_WissDB_DL_API need a way to re-configure domain types that are enumerations.


 

WissDB . Index . DOCs . TOC