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

I am trying to access my file in the work folder and I could not get it!!

 

here is my code:

 

 

DATA TEMP;
SET cs554.case0702;
LOG_PH=LOG(pH);
LOG_TIME=LOG(Time);
RUN;

 

PROC DATA = work.temp SIMPLE
PLOTS(ONLY LABEL)=(PREDICTION(X=LOG_TIME) QQPLOT BOXPLOT);
MODEL PH=LOG_TIME / CLB;
LABEL LOG_TIME="LOG(TIME(HOURS))" pH="pH LEVEL";
RUN;

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
No, it's telling you that you forgot to put the PROC name there. What type of procedure were you intending to run, a PROC REG? GLM? MIXED? PHREG? LOGISTIC?

View solution in original post

5 REPLIES 5
Reeza
Super User

What does the log show? My guess is you forget to assign the CS554 library.

 


@ebrolove wrote:

I am trying to access my file in the work folder and I could not get it!!

 

here is my code:

 

 

DATA TEMP;
SET cs554.case0702;
LOG_PH=LOG(pH);
LOG_TIME=LOG(Time);
RUN;

 

PROC DATA = work.temp SIMPLE
PLOTS(ONLY LABEL)=(PREDICTION(X=LOG_TIME) QQPLOT BOXPLOT);
MODEL PH=LOG_TIME / CLB;
LABEL LOG_TIME="LOG(TIME(HOURS))" pH="pH LEVEL";
RUN;


 

ebrolove
Calcite | Level 5
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 PROC DATA = work.temp SIMPLE
ERROR: Procedure DATA not found.
74 PLOTS(ONLY LABEL)=(PREDICTION(X=LOG_TIME) QQPLOT BOXPLOT);
75 MODEL PH=LOG_TIME / CLB;
76 LABEL LOG_TIME="LOG(TIME(HOURS))" pH="pH LEVEL";
77 RUN;
ebrolove
Calcite | Level 5
ERROR: Procedure DATA not found.

it is basically telling me that I do not have access to my data in in the work folder (work library rather)
Reeza
Super User
No, it's telling you that you forgot to put the PROC name there. What type of procedure were you intending to run, a PROC REG? GLM? MIXED? PHREG? LOGISTIC?
ebrolove
Calcite | Level 5
God bless you !!!

I found what I wanted.

You were correct!!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 5 replies
  • 1862 views
  • 0 likes
  • 2 in conversation