Hi All,
I would like to ask on what code could I use to drop a table in order for me to delete or drop a table in LASR using Manual Code on Data Builder?
I've tried using the code below using SAS Studio and it works fine. However, when using Data Builder I'm getting an error using the code below.
proc datasets lib= <libname>;
delete <table name>;
quit;
Can anyone suggest an alternative way to do this using Data Builder?
Thanks.
Albert0
Hello @Albert0,
some additional information, such as the specific error, would help us.
However, I would initially expect that you are trying to delete a table from LASR server/RAM memory (not the disk), which could explain error during a drop table. Perhaps you would need to use a code as the following one:
Otherwise, it could be a problem of permissions on SAS metadata, but let us focus on the error and the code for now.
Hope it helps.
Kind regards,
Juan
Hi Juan,
Below is the screenshot of the error. I need to drop the LASR Table because if there are updates on that table I will hit an error because the old table exists. Basically, on my SAS code (using EG) I coded proc dataset so the table will be drop on the LASR Server. But when I migrate it on the Data Builder of VA, it generates me an error. I'm also wondering that why did the proc datasets work using EG and not on VDB but they both drop the same LASR Table.
Thanks.
Albert0
From where you loading the data? Are you sure that SAS Enterprise Guide and VDB is using the same application server context? How many application server contexts do you have on the server? All of them have been configured to use UTF8? Also, I would like to know the exact version of SAS and see ViewRegistry Report.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.