DATA Step, Macro, Functions and more

Print Syntax Above Output

Accepted Solution Solved
Reply
Learner
Posts: 1
Accepted Solution

Print Syntax Above Output

Hi. Is there a way to get SAS to print the syntax with the output? I'm sending my ODS output to RTF files, and I'd like to have the syntax from my program to print above each associated output. I tried proc printto log="file_name" print="file_name", but that resulted in my graphs being saved as separate image files. I need it all in one file. Thanks! 


Accepted Solutions
Solution
Monday
Super User
Posts: 23,771

Re: Print Syntax Above Output

Not easily. But if you like that style of development you can use a Jupyter or Zepplin notebook. There are instructions somewhere on here on setting up a Jupyter kernel that you can use.

View solution in original post


All Replies
Solution
Monday
Super User
Posts: 23,771

Re: Print Syntax Above Output

Not easily. But if you like that style of development you can use a Jupyter or Zepplin notebook. There are instructions somewhere on here on setting up a Jupyter kernel that you can use.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 71 views
  • 0 likes
  • 2 in conversation