Help using Base SAS procedures

SAS Segmentation Violation error while using proc import in UNIX

Reply
N/A
Posts: 0

SAS Segmentation Violation error while using proc import in UNIX

Hi,

I am using the following proc import statement in UNIX for importing the data present in the XLS file to sas dataset. But i am getting the following segmentation error in log. Sometimes the data gets imported in the SAS dataset correctly without this error. Please advice.

67 proc import
68 datafile = "Test.xls"
69 out = PERM.TEST dbms=XLS replace;
70 getnames=yes;
71 run;

1 sasimxcl:UNKNOWN at 0x0000000000005E67
2 /usr/local/opt/sas91.ts1m3/SAS_9.1/hotfix/sasexe/sasimxcl:UNKNOWN at
0x0000000001AC0D10

^L3 The SAS System 02:42 Friday, November
20, 2009

Segmentation Violation In Task [ IMPORT ]
Fault and traceback information not available
Task Traceback
NOTE: The SAS System stopped processing this step because of errors.
New Contributor
Posts: 4

Re: SAS Segmentation Violation error while using proc import in UNIX

Posted in reply to deleted_user
Hi

You can use

options nocodegen;

before the code.
N/A
Posts: 0

Re: SAS Segmentation Violation error while using proc import in UNIX

Posted in reply to soumadeep
No its still not working. Throwing the same error. By the way what does "options nocodegen" do?
Super Contributor
Super Contributor
Posts: 3,174

Re: SAS Segmentation Violation error while using proc import in UNIX

Posted in reply to deleted_user
Suggest you review the HOTFIXES at SAS support website and if not resolved contact SAS support.

Scott Barry
SBBWorks, Inc.
New Contributor
Posts: 4

Re: SAS Segmentation Violation error while using proc import in UNIX

Sorry there was a mistake , it is

option nocodegen;

I wrote extra 's'.
New Contributor
Posts: 4

Re: SAS Segmentation Violation error while using proc import in UNIX

Posted in reply to soumadeep
I had the same problem the SAS support team suggested about the
option nocodegen, it is a quickfix, as it was difficult to apply the hotfixes.
Ask a Question
Discussion stats
  • 5 replies
  • 731 views
  • 0 likes
  • 3 in conversation