I doubt it is because of EG. What version of SAS is your EG session connected to? What type of server is it running on?
Is it a Windows machine?
683 proc options option=xsync option=xwait;run; SAS (r) Proprietary Software Release 9.4 TS1M5 XSYNC Windows commands execute synchronously with SAS. XWAIT The DOS shell closes and returns to SAS after EXIT is entered on the command line. NOTE: PROCEDURE OPTIONS used (Total process time):
Or a Unix Machine?
1447 proc options option=xsync ; run; SAS (r) Proprietary Software Release 9.4 TS1M5 ERROR: Unrecognized SAS option name XSYNC. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE OPTIONS used (Total process time): real time 0.05 seconds cpu time 0.00 seconds 1448 proc options option=xwait ; run; SAS (r) Proprietary Software Release 9.4 TS1M5 ERROR: Unrecognized SAS option name XWAIT. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE OPTIONS used (Total process time): real time 0.04 seconds cpu time 0.00 seconds
Or something else?
Perhaps you are using a CAS server instead of regular SAS?
@leehsin - Did you ever resolve this issue? I am experiencing the same problem and would love to know a solution.
What exactly is your issue? This thread has dealt with quite a lot, and is also more than a year old. You may get more responses by posting your question in a new thread.
@SyidaRox the answer is the same, Excel does not enforce types in columns so there's no guarantee of types within an Excel file, it is not a RDBMS.
SAS does not offer ways to specify the variables, but you can convert them after the fact.
Converting your file to a CSV allows you to have full control over the import.
The only way you can hope SAS might read the values correctly is to set the data types in Excel: Text or Number or Date.
Still, Excel enforces no metadata, so you can never be sure.
Can you create and post a small example of an XLSX file that exhibits the issue you are having?
That is one where PROC IMPORT does not properly create a numeric variable from a column where every cell is numeric?
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.