BookmarkSubscribeRSS Feed
Ronein
Onyx | Level 15

Hello

I am running a sas program and get 0 errors and 0 warnings.

However, there is red X in program  tab and also rex X in error tab

 

Ronein_0-1760954315558.png

 

7 REPLIES 7
Kurt_Bremser
Super User
Ronein
Onyx | Level 15
But how can I know where did it occur in the program??
Kurt_Bremser
Super User

@Ronein wrote:
But how can I know where did it occur in the program??

Read the log from top down; there is also a text search function available, IIRC. But I STRONGLY recommend to clean up your code from the start, step by step. See Maxim 25.

Ksharp
Super User
For the issue mentioned by Kurt, you could try option:
option noquotelenmax;


But look from your screen shot, it more looks like a sas bug, I suggest you to contact with sas technical support.
Ronein
Onyx | Level 15
If Igo to log what word should I search there to find the data set where it's creation cause the problem?
PaigeMiller
Diamond | Level 26

Maxim 2

--
Paige Miller
Quentin
Super User

To start with I would search for "ERROR".

 

The red X on the error tab is not a problem.  It is always there, as a visual icon to indicate it is the error tab.

 

The red X on the program tab is a concern.  It indicates (I believe) that an error was generated the last time code from the program was submitted.  I agree, it's surprising to see a red X on the program tab while the error tab reports 0 errors.  

 

I wonder if it's possible you have turned off log messages at some point (e.g. via PROC PRINTTO or similar)?  Or if an error is being generated by EG pre-code or post-code which is not shown is the log?  Those are just guesses as to possible causes.  I don't know the actual condition that EG uses to flag the program tab with an X.  

 

One thing you could try would be to run  a step that does not generate errors, and confirm that the red X on the program tab goes away, then run your full program again, and see if it returns.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 7 replies
  • 292 views
  • 2 likes
  • 5 in conversation