Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:47 AM UTC

Uniface 8: convert c-star fields into SC-star fields

convert c-star fields into SC-star fields

Author: i2stiller@gmx.de (istiller)

Hi freaks

 

One simple question :-)

How to convert data from C-star fields into SC-star fields?

My task is to change the defintion of some field from C* into SC* resp. U* into SU*.

First I did export the data into TRX files (old defintion), then I did change the definition, rebuild ULANA, create new SQl_Script, create new tables and did reload the data from TRX

Looks good on first sight but the then I saw the mess:

The first SU* field will contain all data in the internal TRX-format, like the old definition for the table (only first field on database)

So how to persuade UnifAce to load the date into each  new fields?

BTW:

I have to use UF8 due some circumstances.

And ICOMP only support TRX  (or?)

 

Any idea  ...

 

Regards Ingo

 

 

 

 

 

 

11 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:47 AM UTC

convert c-star fields into SC-star fields

Author: i2stiller@gmx.de (istiller)

Hi freaks

 

One simple question :-)

How to convert data from C-star fields into SC-star fields?

My task is to change the defintion of some field from C* into SC* resp. U* into SU*.

First I did export the data into TRX files (old defintion), then I did change the definition, rebuild ULANA, create new SQl_Script, create new tables and did reload the data from TRX

Looks good on first sight but the then I saw the mess:

The first SU* field will contain all data in the internal TRX-format, like the old definition for the table (only first field on database)

So how to persuade UnifAce to load the date into each  new fields?

BTW:

I have to use UF8 due some circumstances.

And ICOMP only support TRX  (or?)

 

Any idea  ...

 

Regards Ingo

 

 

 

 

 

 

Hi Ingo,

Yes, I forgot about that - sorry.

I'm always using $SEARCH_DESCRIPTOR=DBMS_FIRST and then the entity descriptors are read from ULANA - these are usually the most up-to-date ones. When $SEARCH_DESCRIPTOR is not specified then the descriptors are searched for in the URR file (FILE_FIRST) and in case it still contains "outdated" information then the mapping will of course go "wrong" - so to speak. ;-)

Regards,
Daniel


Author: diseli (daniel.iseli@uniface.com)