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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2428 views
  • 0 likes
  • 2 in conversation