Focal Point
[SOLVED] Error when adding new column in Synonym

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/3387072776

July 16, 2015, 10:20 AM
Virul Patel
[SOLVED] Error when adding new column in Synonym
I have existing synonym, and I have to add one more column in synonym. I am adding like below.
FIELDNAME=LOC_ID, USAGE=A40V, ACTUAL=A20,MISSING=ON,TITLE='LOC_ID', $


And I am getting below error


FOC32523 THE REAL COLUMN NAME IS EMPTY FOR A DBMS SYNONYM
FOC32663 USAGE AND ACTUAL ARE INCOMPATIBLE FOR FIELD LOC_ID

This message has been edited. Last edited by: <Kathryn Henning>,


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012
July 16, 2015, 11:59 AM
Clif
Are you your DataMigrator is Release 7.2.8?

In any event you need to specify an ALIAS=columnname with the actual name of the column in the RDBMS.

That's what the error message means by "real column name is empty."


N/A
July 16, 2015, 12:53 PM
Virul Patel
Thanks Clif,

Howabout actual size, It should be same as usage?. it also gives me error of size. When I provide same size and real name. it allows me to create synonym.

Version is 8.1 M


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012
July 16, 2015, 01:56 PM
Clif
It's not clear what you are trying to do here.

CREATE SYNONYM creates a synonym from a relational table. CREATE FILE creates a database table from the synonym.

If there have been new columns added to a relational database table you can update the synonym from the DMC or WC you can right click on the synonym name select Refresh and it will add the new columns. Or for more control over what information is kept from the synonym or obtained from the database from the app dir you can use New, Synonym (create or update) and then select Update.

If you edit the synonym in the synonym editor it will warn you, but if you use a text editor then you must ensure the ACTUAL and USAGE are compatible.


N/A
July 16, 2015, 02:17 PM
Virul Patel
I am not creating synonyms from database table.

Instead, we have ready synonyms, that is creating .csv file to target. so I am adding one more column to master file, that will generate .csv target file.
Thanks


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012
July 16, 2015, 02:18 PM
Virul Patel
Clif,

I think you might be right.

Let me double check, I will be back to you.

Thanks


Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012
July 16, 2015, 08:59 PM
Virul Patel
Cliff,

Your last quote, helped. Thanks

quote:
If you edit the synonym in the synonym editor it will warn you, but if you use a text editor then you must ensure the ACTUAL and USAGE are compatible



Virul Patel
Product :
iWay Data Migrator (8.1)
WebFocus 8.1
SQL SERVER 2012