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

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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
  • 1166 views
  • 1 like
  • 4 in conversation