🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How do I run Altair SLC from the command line (on Windows)?

User: "Nico Chart_21517"
Altair Employee
Updated by Nico Chart_21517

On Windows the Altair SLC command line interface can be used in the Windows CMD tool like this:

cd "FOLDER_NAME"
"SLC_INSTALL_ROOT\bin\wps.exe" PROGRAM_NAME.sas -print PROGRAM_NAME.lst -log PROGRAM_NAME.log

Replace FOLDER_NAME with the full path to the folder where your .sas program files are stored, and replace PROGRAM_NAME with the .sas program name. Replace SLC_INSTALL_ROOT with the location where Altair SLC is installed on your PC - the default path is C:\Program Files\Altair\SLC\2024.

Note that the log is updated at the end of each step, but if the program is terminating unexpectedly and you need to see as much of the log file as possible, including partially completed steps, then you can use this form of the command line instead:

cd "FOLDER_NAME"
"SLC_INSTALL_ROOT\bin\wps.exe" -stdio <PROGRAM_NAME.sas >PROGRAM_NAME.log 2>&1

This approach should get you a .log file containing the full log right up until the problem occurs. Please send the .log file for us to analyse.

NB batch / command line is not available to SLC Community Edition licensees.

Find more posts tagged with

Comments

No comments on this post.