How do I run Altair SLC from the command line (on Linux, Unix, AIX)?

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

On Linux and other Unix based systems the Altair SLC command line interface looks like this:

cd FOLDER_NAME
SLC_INSTALL_ROOT/bin/wps 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 system - the default path is /opt/altair/slc/2023.

The output is written to the log and listing files on successful completion of each datastep or proc. For an unbuffered output to a log file, e.g if a step is failing, then the -stdio option can be used to capture the output of the uncompleted step:

cd FOLDER_NAME
SLC_INSTALL_ROOT/bin/wps -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.

 

Find more posts tagged with

Comments

No comments on this post.