BookmarkSubscribeRSS Feed
braam
Quartz | Level 8

Jupter Notebook shows outcome or log (if there is no output):

 

SAS is different from many other programming languages in that it has two useful information streams, the log (which details the technical details of what happened and how long it took) and the lst (which includes the tables and graphics from the analysis). The SAS kernel attempts to show you what we think you want. Here are the rules:

LOG LST DISPLAYED NOTES
Yes No LOG This happens when you run DATA step or a PROC with the noprint option.
Yes Yes LST
Yes (with ERROR message(s)) Yes ERROR messages with context from the log, then the listing output.
Yes (with ERROR message(s)) No LOG

 

Source: https://sassoftware.github.io/sas_kernel/overview.html

 

I'm wondering if I can stop seeing LOG even when there is no output. For example, I don't need to keep the log output in the below code. Does anybody know how to solve this issue?

 

Jupyter SAS.JPG

1 REPLY 1
braam
Quartz | Level 8
Relatedly, I also would like to know how I do not report my code in the displayed log in Jupyter Notebook.

Then I can keep the information coming from NOTE, which may be useful while dropping my code in the displayed log.

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
  • 1 reply
  • 851 views
  • 0 likes
  • 1 in conversation