09-17-2013 02:14 AM
I have bunch of sas tables in one of the library and as per the user requirement and to maintain unique name across all libraries, i have renamed the SAS Tables in that library.
like tables registered and name changed from 'ttf_address' to 'address', but in SAS EG i could see the table names as 'ttf_address' not just 'address'.
why this happening and how to apply the fix to be able to reflect the same table names in SAS EG.
09-17-2013 02:19 AM
It seems that you have rename the metadata name, and in the server tab, physical names are displayed.
Or, you have renamed the tables in SMC, but not renamed the tables physically.
09-17-2013 05:50 AM
Thank you for your reply...
I have renamed in SAS SMC after registered the tables from out source.
like there are data tables with same name for two entitis but data is different, hence we have prefix with entity code.
Ex: like transport entity tables has prefix 'ttf_sample' for table names
& sales entity tables has 'sls_sample' table name
and resisted them into two SAS sales library and transport libraries then renamed in SAS SMC in both libraries to met the table names in rest of the libraries.
09-17-2013 06:40 AM
I'm not following you.
09-19-2013 07:08 AM
yes, i can see physical table names in server tab are the physical tables?
i can see metadata table names as renamed table names in Folders tab.
applied read/deny permissions on libraries in SMC.
i think i need to apply the permission on folder structure rather than on libraries using SMC.
09-19-2013 08:53 AM
If you are renaming the tables in metadata and NOT renaming the physical table files, then that can cause some confusion.
It would be better to rename the physical files, then update the table definitions in metadata by using the Register Tables function in SAS MC, or Tools->Update Library Metadata in EG.
EG operates in both The World of Metadata and the World of What's Real. So while your end users might see libraries and tables as they are named in metadata, SAS programs that are written against these tables might revert to the actual physical file names. It's best to keep these in sync, if possible.
10-01-2013 12:10 PM
thank you for your reply.
still not getting exactly.
i had rename the tables after registered from Oracle schema in SMC as below.
Example - registered below tables:
USA_cust table - registered into 'US' library then renamed to USA_customer_details.
UK_cust table - registered into 'UK' library then renamed to UK_customer_details.
answer for your hint is - i cannot rename the tables in physical location as both tables exists in same schema, wont allow to be create two tables with same name.
Users wants to see the renamed table name(USA_customer_details & UK_customer_details) in SAS EG under "Server > SASApp > Libraries >US & UK libraries" appropriately.
10-01-2013 01:21 PM
Gurram - one thing you can do from Chris note is i guess -
- unregistere all tables from MC (this will not delete physical table from library)
- RENAME all tables physically under all library, as per user needs (i think you can do it since tables names are different as UK and US)
- then register all tables under each library meanwhile check how it looks like in EG
- in worse case - concern SAS technical guys...last options
10-03-2013 03:54 AM
i can not rename physically as oracle schema wont allow two tables with same name.
correction in last post table names....
USA_cust table - registered into 'US' library then renamed to 'customer_details' (not USA_customer_details - its typo error).
UK_cust table - registered into 'UK' library then renamed to 'customer_details' (not UK_customer_details - its typo error).
Users wants to see the renamed table name(customer_details & customer_details) in SAS EG under "Server > SASApp > Libraries >US & UK libraries" appropriately.
Can i do log into SAS EG and navigate to Server > SASApp > Libraries >US & UK - rename tables names?
i have already renamed table names in SMC after registered them into UK & USA libraries.