Altair slc setup notepad plus plus editor for running slc programs
For full post, see
https://github.com/rogerjdeangelis/utl-altair-slc-setup-notepad-plus-plus-editor-for-running-slc-programs
Related repo if you want to set up ultraedit
https://github.com/rogerjdeangelis/utl-altair-slc-ultraedit-a-better-IDE-than-eclipse-maybe
SETUP
1 Install Notepad++
https://blogs.sas.com/content/sasdummy/2017/08/25/npp-with-sas/#:~:text=In%20Windows%20Explorer%2C%20right%2Dclick,Always%20use%20this%20app%22%20checkbox
STEPS TO RUN SLC PROGRAMS
2 Create Program in c:/temp/procoptions.sas
proc options group=memory;
run;
- Go to plugins and install plugin MppExec, my bersion was 0.8.10, then click Install button in upper right
3 f6 enter
cd "$(CURRENT_DIRECTORY)"
"C:\Progra~1\Altair\SLC\2026\bin\wps" -sysin "$(FULL_CURRENT_PATH)" -log "$(CURRENT_DIRECTORY)$(NAME_PART).log" -print "$(CURRENT_DIRECTORY)$(NAME_PART).lst"
4 save then Script NAme
Enter 'RunSLC"
5 OK
6 Go to Plugins > NppExec > Advanced Options > Menu Items, select script, add to menu/toolbar.
Select 'RunSLC' in associated Script
Add Modify then Check Place to the Macros submenu
7 Close (file->exit)
8 To run SLC program, Open Notepad++
a File-> open -> click on your file, c:/temp/procoptions.sas, and it will appear in the editor
b Hit F6 then select ok to run program
The program will have run and
The log will be in
c:/temp/procoptions.log
The list will be in
c:/temp/procoptions.lst