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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1038 views
  • 0 likes
  • 4 in conversation