i am trying to run the below code in WPS server but it's not working. However, in SAS studio the code is running sucessfully. Please help me running it on WPS.
The error file is attached below.
Well, from that error it is telling you that refname- a file reference - either has not been set, does not exist, or the system does not have access to the file. Fix the filref to point to a valid area/file to which the system has access to.
I don't know, how to provide reference to external files in wps.
You will need to consult the manual on WPS as I don't use that, however you should be able to do it in the code there with a
fileref rename "<path to file>/<filename>";
Use the filename statement, just as you do in SAS. That is very basic SAS syntax.
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.