Help using Base SAS procedures

Question (problem) with creating a 'xls' file from Linux in SAS

Reply
Frequent Contributor
Posts: 82

Question (problem) with creating a 'xls' file from Linux in SAS

Hi,

The following code is producing an ERROR that I have never seen before, please help! 

I am getting the following error (which is new) : 

                                              14:42 Wednesday, September 3, 2014

ERROR: A component of /cpspb/supp/progs/aug14/0814mis.lis is not a directory.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: SAS set option OBS=0 and will continue to check statements.
      This may cause NOTE: No observations in data set.
WARNING: The data set WORK.SUPP_MIS may be incomplete.  When this step was
         stopped there were 0 observations and 11 variables.

It is producing the xls workbook, but there is nothing in the sheet. 

How do I get rid of this error?

Thanks,

Nancy

I am using SAS 9.2 (TS2MO) on the Linux machine.

Super User
Posts: 3,260

Re: Question (problem) with creating a 'xls' file from Linux in SAS

Posted in reply to SASHunter

You need to check out the directory location of the file your program is reading in.

SAS is saying there is something wrong with: /cpspb/supp/progs/aug14/0814mis.lis so you need to confirm that this folder path is still correct.

At a Linux command prompt type in the command ls -l /cpspb/supp/progs/aug14 and check the output.  

Ask a Question
Discussion stats
  • 1 reply
  • 157 views
  • 0 likes
  • 2 in conversation