Hey guys,
I'm trying to get a big SASEG project to run on our linux server with grid submit. Basically it's a whole ton of short SAS programs with a modular "main" program that tries to pull in the short SAS programs with include statements.
Unfortunately, whenever I use an include statement in the main program that looks like this:
%INCLUDE "/prod/user/More_Filepath_Goes_Here/Assign Libraries.sas";
I get the following error:
WARNING: Physical file does not exist, /prod/user/More_Filepath_Goes_Here/Assign Libraries.sas ERROR: Cannot open %INCLUDE file /prod/user/More_Filepath_Goes_Here/Assign Libraries.sas
Which would be fine, except does seem to exist after all, and moreover it seems to exist in exactly the filepath I've specified. I've double and triplechecked for typographic errors, and if there are any, then I have missed them, plus I was able to successfully assign a libname to /prod/user/More_Filepath_Goes_Here
(I should add that the directory in question is a git repo, but it doesn't seem like that would screw things up).
Clearly there is some fundamental issue with my understanding either of how %INCLUDE works, or what grid submit is doing. Does anyone have any idea what the issue might be?
Thanks a million!
It's case sensitive. Are you sure it's correct?
It's case sensitive. Are you sure it's correct?
I've been there. My previous job was all Windows and when I started my current job I had several times where this detail got me good.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.