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

Hi,

I'm importing some txt(utf-8 encoded) table to my SEG automatically using import data in the file menu, I chose to embed the code and when i created the a new program to copy those codes they are highlighted in yellow, is there any way to remove that highlight ?

 

Thanks in advance Capture.PNG

1 ACCEPTED SOLUTION
4 REPLIES 4
Kurt_Bremser
Super User

Once you issue the DATALINES4 statement, everything following will be considered as data (not code) until a line with 4 consecutive semicolons is encountered. The datalines are highlighted in yellow.

Kurt_Bremser
Super User

PS a DATALINES statement is always the final statement of a data step, it constitutes a step boundary, so no RUN is needed. The data step starts to run as soon as the finishing semicolon (DATALINES) or 4 semicolons (DATALINES4) is/are encountered.

skavli
Calcite | Level 5

I am so sorry to bother you, i found out that when i import the dataset i don't have to click on embed code, just on finish and then i have my dataset and the code anyway.

Thanjs for all the explanations

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

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