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

I have EG projct running, alwasy at the last few steps stop running. do nto know why.

 

Please see attach log file.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

It doesn't look like any of that code is running from what you posted, it is like there is an unbalanced quote and it is just writing it to the log as text, there is no Note: Procedure took xyz for instance.  Post your exact log, and make sure the debug options - 

options mlogic mprint symbolgen source source2;

 

Is on, so you can actually see what is going on.

View solution in original post

6 REPLIES 6
RW9
Diamond | Level 26 RW9
Diamond | Level 26

It doesn't look like any of that code is running from what you posted, it is like there is an unbalanced quote and it is just writing it to the log as text, there is no Note: Procedure took xyz for instance.  Post your exact log, and make sure the debug options - 

options mlogic mprint symbolgen source source2;

 

Is on, so you can actually see what is going on.

JHE
Obsidian | Level 7 JHE
Obsidian | Level 7
Thank you
FredrikE
Rhodochrosite | Level 12

Looks more like the pgm-file :0

//Fredrik

andreas_lds
Jade | Level 19

And post logs as text files, please.

Ron_MacroMaven
Lapis Lazuli | Level 10

add this statement

 

options mprint;

before you call any of your macros so we can see the macro statements.

 

... and save your logs as *.txt so they are easier to read

 

 

ballardw
Super User

A common side effect of macro errors is a very hard to find unbalanced quote or parantheses such that a %mend is never found for a macro during compilation.

The symptom is code text in the log but no messages such as data set read, macro compilied and such. You may want to 1) save code

2) close the SAS session and restart, 3) run the code with the options mprint symbolgen mlogic. That may give you a better chance to find where some error lies.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 6 replies
  • 1527 views
  • 2 likes
  • 6 in conversation