Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] Error when adding new column in Synonym
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Error when adding new column in Synonym
 Login/Join
 
Silver Member
posted
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
 
Posts: 32 | Location: Cambridge, Ontario, Canada | Registered: June 02, 2014Reply With QuoteReport This Post
Guru
posted Hide Post
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."
 
Posts: 380 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
Silver Member
posted Hide Post
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
 
Posts: 32 | Location: Cambridge, Ontario, Canada | Registered: June 02, 2014Reply With QuoteReport This Post
Guru
posted Hide Post
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.
 
Posts: 380 | Location: New York City | Registered: May 03, 2007Reply With QuoteReport This Post
Silver Member
posted Hide Post
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
 
Posts: 32 | Location: Cambridge, Ontario, Canada | Registered: June 02, 2014Reply With QuoteReport This Post
Silver Member
posted Hide Post
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
 
Posts: 32 | Location: Cambridge, Ontario, Canada | Registered: June 02, 2014Reply With QuoteReport This Post
Silver Member
posted Hide Post
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
 
Posts: 32 | Location: Cambridge, Ontario, Canada | Registered: June 02, 2014Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] Error when adding new column in Synonym

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.