BookmarkSubscribeRSS Feed
KevinViel
Pyrite | Level 9

I submit the following, which I have edited to obscure the paths:

 

 

NOTE: CALL EXECUTE generated line.
1    + x '"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -ls 120 -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg" -NOSPLASH -NOSTATUSWIN -SASUSER !userprofile -ls 120 -SYSIN "
2    + ~\SAS\f02.sas" -NOLOG -ALTLOG "~\LOG\f02.log" -PRINT "
3    + ~\LST\f02.lst" ' ;

 

 

The log includes:

 

NOTE: AUTOEXEC processing completed.

1 /****************************************************
1 ! ***********************************************
2 * Program Name :
2 ! ~\SAS\f02.sas
3 * Program Type : Tables, Main
4 * Brief Description : This program

 

As a test, I include the following just have this header:

 

46         proc options
47            option = ls ;
48         run ;

    SAS (r) Proprietary Software Release 9.4  TS1M5

 LINESIZE=64       Specifies the line size for the SAS log and 
                   for SAS procedure output for the LISTING 
                   destination.

The autoexec.sas include the LS = 256, too.  I am working on Windows 10 Professional and SAS 9.4.  Until the program specified by

-SYSIN executes its OPTIONS statement with LS = 256, the log is too narrow.

 

I would appreciate any advice or references.

 

Thank you,

 

Kevin

3 REPLIES 3
ChrisNZ
Tourmaline | Level 20

What's in your config file?

Why does the config file have a .sas extension?

Have you tried adding an = sign?

KevinViel
Pyrite | Level 9

With apologies, the config file is the standard file, that I modified.  It, indeed, has a .cfg extension.  I erred editing the code to remove "sensitive" folder names when I posted.  When I deleted, I completely erased the config file and presented the argument to -SYSIN.

 

I have discovered that several SAS System Options, like MARGINs, affect LS.  I may have solved some of my issues by issuing my LS after I set margins and fonts.  Simply:

 

options ls = 256 ;

 

Thank you,

 

Kevin

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1243 views
  • 1 like
  • 2 in conversation