Hi guys... I have connectivity with Sql Srv database using Odbc connectivity. To load and unload data automatically on daily basis i m traying to write below code
/* Unload data from source table */
PROC CASUTIL;
ALTERTABLE CASDATA="Feedback_data" INCASLIB="test123" CASOUT="feedback_data" INCASLIB="test123";
QUIT;
/* Load data into destination table from SAS data set */
PROC CASUTIL;
LOAD CASDATA="SAS-data-set" INCASLIB="test123" CASOUT="feedback_data" OUTCASLIB="test123";
QUIT;
but I am Getting below error..
@SASJedi Thanks for reply... I followed steps mentioned by you.
I am using SAS VIYA V.03.05.
Below code able to establish the cas session and load and unload the table from caslib created.
1. What version of SAS Viya are you using?
2. Please review the documentation for PROC CASUTIL:
3. Please share your complete code, including:
@SASJedi Thanks for reply... I followed steps mentioned by you.
I am using SAS VIYA V.03.05.
Below code able to establish the cas session and load and unload the table from caslib created.
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.