BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AJ_Brien
Quartz | Level 8

Hello,

 

I'm trying to test something very basic. 

 

options nocenter source2 mlogic symbolgen nomprint

%let unix_out = abc;

%put unix_out;

 

when I run this, I get this in the log window and nothing else

 

1 The SAS System 14:34 Wednesday, April 17, 2019

1 %_eg_gridprologue;
NOTE: Remote submit to GRID commencing.
NOTE: Remote submit to GRID complete.
2 %_eg_gridclientepilogue;
3 %let _EGRC=&_EGRCGRID;
4

 

Appreciate any help!

1 ACCEPTED SOLUTION

Accepted Solutions
AJ_Brien
Quartz | Level 8
Just to close the thread:

simply using %put as mentioned above never worked for me.

The only thing that did work was :
%put &=unix_out;

View solution in original post

4 REPLIES 4
SASKiwi
PROC Star

Classic missing semicolon:

options nocenter source2 mlogic symbolgen nomprint; * <=== semicolon here;

%let unix_out = abc;

%put &unix_out;
AJ_Brien
Quartz | Level 8

I added the semicolon, thank you.

 

But I don't see any output still.

AJ_Brien
Quartz | Level 8

I've tried the following to see if any of these might work, but they didn't

 

%put &unix_out.;

 

%put unix_out;

 

%put &unix_out;

 

AJ_Brien
Quartz | Level 8
Just to close the thread:

simply using %put as mentioned above never worked for me.

The only thing that did work was :
%put &=unix_out;