BookmarkSubscribeRSS Feed
yutakamorioka
Calcite | Level 5

data _toy;

X=1;

run;

LOG is noProblem.

But any dataset appear  my WORK library.

why?

4 REPLIES 4
LinusH
Tourmaline | Level 20

What do you mean "any"? What is the problem?

6data _toy;
7    X=1;
8run;

NOTE: The data set WORK._TOY has 1 observations and 1 variables.

NOTE: DATA statement used (Total process time):

  real time       0.00 seconds
  cpu time        0.01 seconds
Data never sleeps
AncaTilea
Pyrite | Level 9

Are you thinking of a data _NULL_ step?

Which I am not sure it makes sense with just x = 1;

Anca.

Amir
PROC Star

Hi,

Please show us the log with the data step and the messages that say it is created.

Has the "user" option been set to value that is not "work"?

Are you running anything before this data step?

Regards,

Amir.

Amir
PROC Star

Hi,

I have just run the data step in PC SAS 9.1.3 and it ran cleanly, but I too cannot see the "_toy" data set listed in the work library, although I can view it by issuing the "fsv _toy" command.

I tried the same data step on Mainframe Z/OS SAS 9.1.3 and again it ran cleanly and the "_toy" data set *is* listed in the work library and can be viewed.

What platform and version of SAS are you using?

May be something for SAS Technical Support.

Regards,

Amir.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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