BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Hi,

I am trying to generate an excel report from a sas dataset. I understand that i need to use DDE option for this. But i get a warning message when i execute this code:

FILENAME EXCEL DDE 'EXCEL|SYSTEM';
FILENAME EXPORT DDE 'EXCEL|SHEET1!R1C1:R2C6' NOTAB;
OPTIONS XSYNC;
/* OPEN THE EXCEL WORKBOOK */
DATA _NULL_;
FILE EXCEL;
PUT'[OPEN("C:\TEMP\BOOK1.XLS")]';
RUN;

WARNING: The device type or access method specified, DDE, is not defined to the SAS system. This value is being ignored for compatibility with previous releases. If you intended for this to be aan MVS device type, please specify it on the UNIT= option.

ERROR: Invalid file, EXCEL|SYSTEM.
ERROR: Error in the FILENAME statement.

Please help me to resolve this as i am struck with the first step itself.

Thanks,
Mee
1 ACCEPTED SOLUTION

Accepted Solutions
Peter_C
Rhodochrosite | Level 12
seems ffrom the Warning, that you are running SAS on zOS (sometimes referred to as MVS ).
DDE works only on the Microsoft Windows family of platforms.

View solution in original post

1 REPLY 1
Peter_C
Rhodochrosite | Level 12
seems ffrom the Warning, that you are running SAS on zOS (sometimes referred to as MVS ).
DDE works only on the Microsoft Windows family of platforms.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1 reply
  • 2319 views
  • 0 likes
  • 2 in conversation