BookmarkSubscribeRSS Feed
AllanBowe
Barite | Level 11
Spoiler
SAS Studio - Autoexec

Your SAS Studio instance has an autoexec - this is a place for code that will run automatically at the start of your session.  Just choose Options / Autoexec File and paste your code into the window.

 

What to put there?

 

Well you could add these two lines of code and make the entire sasjs/core library available to your session!

 

filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;


You might also put your hackathon specific setup scripts and macro variables there, so that they are always active when reloading your session.

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
2 REPLIES 2
sbxkoenk
SAS Super FREQ

Thanks @AllanBowe ,

 

I require "my" team ( @SomnathP ) to include this in their autoexec. 😉

If they are looking for documentation on this MacroCore library

, is this the best place to send them to : https://sasjs.io/sasjs-core/ ??

 

Also a tip for my co-mentor : @surajkamath 

 

See also here :

SAS open-source treasures from around the world: SASjs
By Leonid Batkhan on SAS Users February 16, 2022
https://blogs.sas.com/content/sgf/2022/02/16/sas-open-source-treasures-from-around-the-world-sasjs/

 

Thanks,

Koen

AllanBowe
Barite | Level 11
Hi Koen!

The macros are documented directly, here: https://core.sasjs.io

In coming tips we'll show how they can be compiled into Jobs and Services (and Tests), and deployed to SAS Viya 4 using the REST APIs, from the comfort of VS-Code

Best,
Allan
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Get Ready to Hack! 2024 SAS Hackathon

If hackin’ is your jam, we’re droppin’ it like it’s PROC with our groovy tune!

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 456 views
  • 16 likes
  • 2 in conversation