BookmarkSubscribeRSS Feed
guest1994
Calcite | Level 5

Hi

 

My file path is:

 

 

%include "&path\data\setup.sas";

 

This is the error:

 

WARNING: Physical file does not exist, /config/sas_9.4/config/Lev4/SASComp1/H:/workshop\data\setup.sas.
ERROR: Cannot open %INCLUDE file H:/workshop\data\setup.sas.

 

4 REPLIES 4
guest1994
Calcite | Level 5

 MY filepath is H:\workshop

AnandVyas
Ammonite | Level 13
Do you have instructions in the course work that you are following to set this up? The error shows that you are connected to run SAS on a remote server (Linux may be) and trying to import data from your local laptop/desktop.
guest1994
Calcite | Level 5
The instructions are:
/* Windows/UNIX */

/* STEP 1: Notice the default values for the %LET statements. */

/* STEP 2: If your files are not to be located in S:/workshop */
/* change the value of PATH= in the %LET statement to */
/* reflect your data location. */

/* STEP 3: Submit the program to create the course data files. */

/* STEP 4: View the Results and verify the CONTENTS procedure */
/* report lists the names of the SAS data sets that were created.*

RichardDeVen
Barite | Level 11

You can 

 

Copy the course work to your account on the

  • From Windows File Explorer drag workshop folder to your account home in EG.
  • Change path macro variable assignment from
    • %let path=H:\, to
    • %let path=~

or

Supposing the windows H:\ folder is accessible from your EG login account through a server side mount point the system administrator setup.

  • Presume server path /sas/training connects to the same resource that H:\ does in Windows
    • %let path = /sas/training/

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

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
  • 1050 views
  • 0 likes
  • 3 in conversation