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

In the windows machine the files owned by deleted users show a long set of characters foor user name. It will be like

O:S-1-2-3-10 integer grp- 10 ineger grp- 10 integer grp- 3 to 5 integers

( in the posted message the colon appears as an image/ smiley )

When the text /csv file having these values is imported, it becomes three dots (...)

Is there a way to import them so that they appear as they are? 

1 ACCEPTED SOLUTION

Accepted Solutions
thesasuser
Pyrite | Level 9

Thanks You all for the response.

I solved this using a code like this. Inserted a length statement.

data work.temp2;
length long_value $ 100;
input long_value $;
datalines;
O:S.1.5.1234567890-1234567890-1234567890-123456
O:S.1.5-1234567890-1234567890-1234567890-345671
O:S.1.5-1234567890-1234567890-1234567890-1234
O:S.1.5-1234567890-1234567890-1234567890-123433
O:S.1.5-1234567890-1234567890-1234567890-123491
;
run;

.  

View solution in original post

5 REPLIES 5
Reeza
Super User

Three dots usually means not shown. How are you importing your data and how are you checking it. Make sure the formats are correct. 

 


@thesasuser wrote:

In the windows machine the files owned by deleted users show a long set of characters foor user name. It will be like

O:S-1-2-3-10 integer grp- 10 ineger grp- 10 integer grp- 3 to 5 integers

( in the posted message the colon appears as an image)

When the text /csv file having these values is imported, it becomes three dots (...)

Is there a way to import them so that they appear as they are? 


 

thesasuser
Pyrite | Level 9
INFORMAT / Format is $50.
andreas_lds
Jade | Level 19

Why is an (output-) format attached to the variable? If a format is attached to a char variable only the number of chars named in the format is shown. So: remove it.

thesasuser
Pyrite | Level 9

Thanks You all for the response.

I solved this using a code like this. Inserted a length statement.

data work.temp2;
length long_value $ 100;
input long_value $;
datalines;
O:S.1.5.1234567890-1234567890-1234567890-123456
O:S.1.5-1234567890-1234567890-1234567890-345671
O:S.1.5-1234567890-1234567890-1234567890-1234
O:S.1.5-1234567890-1234567890-1234567890-123433
O:S.1.5-1234567890-1234567890-1234567890-123491
;
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!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 707 views
  • 0 likes
  • 4 in conversation