BookmarkSubscribeRSS Feed
nagesh1984
Calcite | Level 5

how to read this data using of DLM?

example:

data ab;

input id name age;

cards;

1,2?3

4/5,6

;

run;

1 REPLY 1
PeterClemmensen
Tourmaline | Level 20

@nagesh1984 Welcome to the SAS Community 🙂

 

You can do like this

 

data ab;
infile cards dlm=',?/';
input id name age;
cards;
1,2?3
4/5,6
;
run;

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 451 views
  • 1 like
  • 2 in conversation