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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 1638 views
  • 1 like
  • 4 in conversation