BookmarkSubscribeRSS Feed
atulsingh
Obsidian | Level 7

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.


Untitled.png
5 REPLIES 5
RW9
Diamond | Level 26 RW9
Diamond | Level 26

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.

atulsingh
Obsidian | Level 7

I don't know, how to provide reference to external files in wps.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

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>";

 

http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n07buc7sg08fdrn1c1...

Reeza
Super User
WPS reads the file the same way SAS does. In datafile parameter include the full path to your file on your server. Note that your server likely can't see your desktop and any files on your local drive.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 3105 views
  • 0 likes
  • 4 in conversation