BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am new to EG3. I am migrating some of my processes to EG and I have one program that reads in a pipe delimited txt file. Several of the columns contain dates but each record does not necessarily need to have the date field populated. When EG runs the code, the log fills up with "Invalid Data..." messages each time a missing date is encountered. The missing date data is valid. EG process flow looks like the process fails (with the RED X over the code node). Is there a way to supress this type of error in a way that EG will not display the RED X?

Thanks
2 REPLIES 2
ChrisHemedinger
Community Manager
You might be able to use the OPTIONS ERROR= statement to control how errors appear in the log. However, even one error in the log will cause EG to put the "scarlet X of shame" on your code node.

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Doc_Duke
Rhodochrosite | Level 12
You may want to review your original code. MIssing data should not generate an "Invalid data" error unless you are using some sort of expression that won't allow missings (in which case, you should conditionally execute the code).

Doc

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2 replies
  • 961 views
  • 0 likes
  • 3 in conversation