Presentation is loading. Please wait.

Presentation is loading. Please wait.

IMPORTING DATA WITH DDE (Dynamic Data Exchange) Or Proc Import?

Similar presentations


Presentation on theme: "IMPORTING DATA WITH DDE (Dynamic Data Exchange) Or Proc Import?"— Presentation transcript:

1 IMPORTING DATA WITH DDE (Dynamic Data Exchange) Or Proc Import?

2 Arizona Supreme Court

3 Business Process Collecting and Entering Data
Reporting Monthly Statistical reports Quarterly Revenue Survey Annual Expenditure Survey Annual Personnel Survey Collection Method Internet Word Perfect Word Excel Spreadsheets Fax Machine Mail

4 The Problem In Arizona 26 Maricopa County Justice Courts submit monthly statistical reports in Excel Spreadsheets. Each spreadsheet consists of four worksheets forms. The Excel forms make it very difficult to import rows and column of numeric data.

5 Form Sample

6 The Solution DDE (Dynamic Data Exchange)
DDE requires three Arguments Application Name Topic Item

7 Options NOXWAIT and NOXSYNC

8 DDE Triplet Arguments

9 Drop and Retain

10 Final Product

11 The Problem In Arizona 26 Maricopa County Justice Courts submit monthly statistical reports in Excel Spreadsheets. Each spreadsheet consists of five worksheets. Each worksheet consist of rows and columns of data, making it easy to import.

12 Data sample

13 The Solution Proc Import
Proc Import requires three Arguments The complete path of the spreadsheet Specify SAS data output, default is work folder Specify DBMS (Database Management System) such as “xlsx”

14 Proc Import Solution Three Arguments

15 Clean-up fields

16 Proc Import Results

17 Summary Comparison DDE (Dynamic Data Exchange) Proc Import
Requires three arguments May require a lot more SAS code. No additional SAS license required Best used when importing from Excel Form Proc Import Requires three arguments Requires few lines of SAS code. Reading excel spreadsheets requires SAS/ACCESS license Best used when importing raw data from Excel

18 Contact Information Name: Humberto Cisneros, Senior Statistical Analyst Company: Arizona Supreme Court City/State: Phoenix, Arizona Phone:


Download ppt "IMPORTING DATA WITH DDE (Dynamic Data Exchange) Or Proc Import?"

Similar presentations


Ads by Google