BookmarkSubscribeRSS Feed
jobl
Calcite | Level 5
Hi there,
I apologize if there are other explanations for this same question already out there, unfortunately my understanding of SAS is extremely basic, so I will need an extremely plainly worded explanation if I am going to be able fix this error and proceed on in my class:
 
The error I am encountering is as follows:
 "Open code statement recursion detected"
 
It occurs when I submit the following code (all I have done is replaced the word FILEPATH in the SAS file I was provided with the file path to the requested folder):
 
/***********************************************/
/* In the line of code below, replace FILEPATH */
/* with the path to your EPG194/data folder    */
/***********************************************/
%let path= C:\Users\Lara\Desktop\MySASfiles\EPG194\data;
/**********************************************/
/* DO NOT EDIT THE CODE BELOW                 */
/**********************************************/
libname PG1 "&path";
 
 
Thank you so much. I've already spent hours on this and this feels a bit unreasonable since SAS Programming 1 is supposed to be very basic and require no SAS experience.
1 REPLY 1

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 828 views
  • 0 likes
  • 2 in conversation