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-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!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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