Chapter Contents

Previous

Next
SAS Companion for the Microsoft Windows Environment

DDE Syntax within SAS

To use DDE in SAS, issue a FILENAME statement with the following syntax:

FILENAME fileref DDE 'DDE-triplet' <DDE-options>

where:

fileref
is a valid fileref (as described in Referencing External Files).

DDE
is the device-type keyword that tells the SAS System you want to use Dynamic Data Exchange.

'DDE-triplet'
is the name of the DDE external file.

DDE-options
can be any of the following:

HOTLINK
instructs the SAS System to use the DDE HOTLINK. For an example of using this option, see Using the DDE HOTLINK.

NOTAB
instructs the SAS System to ignore tab characters between variables. For an example of using this option, see Using the NOTAB Option with DDE.

COMMAND
allows remote commands to be issued to DDE server applications. For more information, see Controlling Another Application Using DDE.

CAUTION:
Use caution when using DDE with data values that are blank or missing. For sample code, see Reading Missing Data.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.