I have working code for DDE. If I add select-statement into my code it gives an error.
135 filename cmds dde 'excel|system';
136 data _null_;
137 file cmds;
138 put '[select("R1C1")]';
139 put '[QUIT()]';
140 run;
NOTE: The file CMDS is:
DDE Session,
SESSION=excel|system,RECFM=V,LRECL=256
ERROR: DDE session not ready.
FATAL: Unrecoverable I/O error detected in the execution of the DATA step program. Aborted during the EXECUTION phase.
NOTE: 0 records were written to the file CMDS.
NOTE: The SAS System stopped processing this step because of errors.
Why is this?