I want to see all columns in sas tables,table name and libname.I get an error like below:
Is there a work around or al alternative to get this information (the table from dictionary show the same error).
Alternative can I ask the metadata server ? and how (code example is appreciated).
Thanks in advance.
23 proc sql;
24 create table XXXX AS
25 select libname, memname, name, type from
26
27 sashelp.VCOLUMN;
ERROR: Incorrect length in SAS Metadata Repository for column initial_1.
Either fix the metadata for initial_1 or disconnect from meta data?
hoW can i disconnect metadata in EG? and connect again?
Hi
Have a look at the "Update Library Metadata" task under Tools.
This task can report on the differences between the Metadata definition and the actual physical table.
The task can also update the Metadata definition, provided you have the necessary permissions.
Bruno
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.