BookmarkSubscribeRSS Feed
GN0001
Barite | Level 11

Hello team,

I am using putlog_all_ after set statement and nothing is written to the log.

Thanks,

BlueBlue

Blue Blue
6 REPLIES 6
Tom
Super User Tom
Super User

@GN0001 wrote:

Hello team,

I am using putlog_all_ after set statement and nothing is written to the log.

Thanks,

BlueBlue


Please show the log.

Remember that most data steps do not end at the end of the step. Instead they end when SAS reads past the end of the input.  Most likely the input dataset has zero observations.  The NOTEs in the SAS log should show that.

ChrisNZ
Tourmaline | Level 20

> I am using putlog_all_ after set statement and nothing is written to the log.

 

Do you have a space and a semi-colon in your code?

Do you have data in your data set (after a possible WHERE clause is applied) ?

GN0001
Barite | Level 11

Hello,

I can't remember it, because I posted a long time ago and I couldn't chance to get back to this post, unfortunately.

Thank for your response.

blue

Blue Blue
AllanBowe
Barite | Level 11
Maybe your log has been redirected. There are many reasons. Please share code and log!
/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs
Ksharp
Super User

Try add these options :

 

options notes source source2;

data have;
input Word    & $40.                                 contains $;
putlog _all_;
cards;
the best gift                           gift
SAS programming                SAS
apt no: 12356                       12356
;

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.

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
  • 6 replies
  • 1219 views
  • 4 likes
  • 6 in conversation