BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
NitinSingh
Calcite | Level 5

Hi All,

 

I want to know how to load/unload a table (In SAS VA) by sas programming script because i need to save that script for futher useage. 

could anyone please help for the same.

 

 

Appreciate your help.

 

 

 

Thanks,

Nitin Singh 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RichardPaterson
Obsidian | Level 7

an alternative to unloading a LASR table is by using the proc datasets procedure - 

 


proc datasets lib = LASRLIB nolist nowarn memtype = (data view);
delete <tablename>;
quit;

 

 

regards, 

 

Richard

View solution in original post

5 REPLIES 5
naveenraj
Quartz | Level 8

Unload a table

 

proc lasr port='portnumber';
remove libref.dataset;
performance host="sas.server.com"
install="/opt/TKGrid";
run;

 

Load a table 

 

LIBNAME LASRLIB SASIOLA TAG=PUBLIC PORT=10031 HOST="sas.server.com" SIGNER="http://sas.server.com:7980/SASLASRAuthorization";


data LASRLIB.test;
set libref.test1;
run;

 

u have to find your port numbers host name etc. Most probably from sas administrators.

NitinSingh
Calcite | Level 5

Thanks for your reply sir.

RichardPaterson
Obsidian | Level 7

an alternative to unloading a LASR table is by using the proc datasets procedure - 

 


proc datasets lib = LASRLIB nolist nowarn memtype = (data view);
delete <tablename>;
quit;

 

 

regards, 

 

Richard

NitinSingh
Calcite | Level 5

Thanks for your reply Sir. I have the script for unload a table. but i need script for load a table into LASR Server. 

TriciaAanderud
Lapis Lazuli | Level 10

If you look back - the response from @naveenraj contains the code.  There are some other methods but he is showing a straight-forward one.

 


Tricia Aanderud

Twitter: @taanderud - Follow me!

sas-innovate-2024.png

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.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 5 replies
  • 1224 views
  • 1 like
  • 4 in conversation