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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2514 views
  • 0 likes
  • 2 in conversation