BookmarkSubscribeRSS Feed
THALLA_REDDY
Obsidian | Level 7

Hi Team,

 

I am reading a comma ( , ) delimited file using IMPORT DATA Task in SAS Enterprise guide 8.3. I am getting the data as expected while reading the file but when see the code generated by IMPORT DATA Task the delimiter value is showing in HEX converted value.

 

Ex: In my file comma is the delimiter and usually I have to see it as DLM=',' In the code but i am seeing as DLM='2c'x .

Can anyone help me if there is any option to see the delimiter as comma ( , ) instead of HEX Value.

 

thanks in advance,

thalla

1 REPLY 1
PhilC
Rhodochrosite | Level 12

I don't know if you need to keep your "Import Data (file.csv)"  Task Icon as a Task that remains adjustable by its GUI dialog.  If  your code is not going to change using the GUI, or if you don't mind adjusting your import parameters using SAS code you may consider this.  RIght clicking the Task and using "Extract Code".  This produces a program node with the DATA step generated by the Import Data Task for your import.  In this program node you should be free to edit the DLM parameter.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 1 reply
  • 1041 views
  • 0 likes
  • 2 in conversation