SAS and Microsoft Excel for Tracking and Managing Clinical Trial Data: Methods and Applications for Information Delivery
|
|
|
- Elfreda Owen
- 10 years ago
- Views:
Transcription
1 Paper TT15 SAS and Microsoft Excel for Tracking and Managing Clinical Trial Data: Methods and Applications for Information Delivery Na Li, Pharmacyclics, Sunnyvale, CA Kathy Boussina, Pharmacyclics, Sunnyvale, CA ABSTRACT Microsoft Excel is widely used in the pharmaceutical industry and therefore frequently requested due to familiarity and ease of use. This paper outlines an automated data communication between Excel and SAS programs such as how to consolidate data from multiple Excel files, MS ACCESS files and other data sources, establish a data warehouse by manipulating and integrating information in SAS, and deliver information in Excel format applying Excel templates with reusable macros or by dynamically creating multiple Excel worksheets. Several SAS methods are explored including DATA step, SAS/ACCESS (PROC ACCESS, SQL Procedure, PROC DBLOAD, PROC IMPORT/EXPORT), DDE (Dynamic Data Exchange), and ODS (Output Delivery System). The pros and cons of each method are also summarized. Furthermore, the scheduling of SAS executions on a daily basis is addressed. The application of these methods is further detailed, illustrating how they can help in the management of clinical trials when delivering information to Clinical Research Associates, and Medical and Safety Monitors. The powerful data warehousing techniques and information delivery methods of the SAS system are utilized to integrate multiple data sources and deliver consolidated Microsoft Excel worksheets to medical professionals. INTRODUCTION MS Excel is user-friendly and commonly used by non-programming professionals. The expanded column fields, ability to format cells, highlight, sort and even add data are some of the reasons that non-programming professionals rely on Excel. In the conduct of clinical trials, Clinical Research Assistants, Data Managers and Medical Monitors are among the various personnel that may create Excel files to help manage their activities and track information. SAS data warehousing and data manipulation procedures are optimal for bringing together these multiple data sources into a data warehouse. The information can be delivered back in a consolidated Excel file that is in a format that the end-user finds to be familiar and comfortable. Traditionally using DATA step or the IMPORT/EXPORT wizard to bring external data into SAS or export SAS data sets to external files are the commonly used methods. Newly addressed methods such as ODS (Output Delivery System) lack the flexibility to export data to user defined complicated formatted Excel templates with limited programming time. There is no perfect method to carry the flexibility and cover all of the Excel user s needs. In order to deliver the data correctly and promptly, not only understanding that different methods have different installation requirements, but also understanding the procedures and knowing the limitation of each method can be very critical. This paper compares each method to help SAS programmers to determine the right method to meet their needs. IMPORTING EXCEL, MS ACCESS INTO SAS SAS/ACCESS software establishes a data transfer method between almost any database product and the SAS system. Corresponding components of SAS/ACCESS must be installed and licensed at your site to be used. SAS/ACCESS (PROC ACCESS, PROC IMPORT, and PROC SQL), DATA step, and DDE are common approaches for importing Excel data into SAS data sets. Each method is evaluated in the context of the application in the PC (Windows and OS/2) environment. Before introducing different importing methods, it is necessary to understand the Excel file data type, date/time convention and naming convention. Excel software has two data types: character and numeric. In character type, data can be entered as text, numbers, or dates. In numeric type, data can be entered as numbers (beginning with +,$,@,-,=,or #), dates, times, or formulas. Dates are stored as numeric values defined by days from 1/1/1900 to the specified date, while in SAS dates are stored as numeric values defined by days from 1/1/1960 to the specified date. For example, March 12, 1994 is recorded as in Excel but is in SAS. When all of the data in the date column are saved as numeric type, SAS can convert the data correctly. However in the mixed data type field, it can cause problems. In such case, either save the column as a text field in Excel or do the programming convention with an additional DATA step. PROC ACCESS SAS/ACCESS to PC Files Formats has to be installed and licensed if you are running SAS/ACCESS under the PC operating environment. PROC ACCESS can be run within the SAS Display Manager via the IMPORT Wizard for ease of use. After implementing the wizard, recalling the code in the Program window provides SAS code that can be saved to a file for future use. The code is readable and the syntax provides options to, for example, select all or some variables from the source or to
2 provide variables names or labels to the resulting data set. PROC ACCESS is also flexible at handling source data with mixed data types. The drawback of this method is that the excel file has to be saved as Excel 5.0/95 or 4.0 workbook format. The Excel file has to be closed upon program execution. The data range can only be selected in rows and columns manner and cannot contain a block of empty cells, which can be a problem if the records are added or removed. Use the TYPE column identifier=c to avoid missing text information caused by mixed data types in the same column, since sometimes the MIXED=YES statement may not resolve the problem. There may be a content truncation problem if the lengths of the character fields are not specified in the format statement and SCANTYPE=Y is not in the program. If the column names are included in the SAS data set, the Excel column names have to start with a letter, and have the combination of A-Z, 0-9, space, underscore, and hyphen to avoid error messages. To be able to format variables, it is suggested to use column names without spaces, hyphens, or underscores. When importing the date-time columns, the information has to follow the Excel numeric date/time format to avoid missing information. Below are the example Excel snapshot (save as MS Excel 5.0/95 workbook), SAS code and SAS output: Site Number Patient Number Exam Date Modality Date Digital Data Received Date Films Received Date Translated Date Films Digitized /Jan/ /01/ /01/ /01/ /01/ /Jan/2001 MRI 03/05/ /25/ /25/ /Jan/2002 MRI /Feb/2003 Port 03/05/ /28/ /28/ /Feb/2004 Port 03/05/ /28/ /28/ /Aug/2003 Port 08/25/ /Aug/2003 MRI 08/25/ /28/ /29/ /Aug/2003 MRI /Aug/2003 MRI /Aug/2003 MRI PROC ACCESS DBMS=XLS; CREATE WORK.BITI.ACCESS; PATH='C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\BITI.XLS'; WORKSHEET='TRACKING'; SKIPROWS=2; MIXED=YES; TYPE VAR6=N; FORMAT VAR6 DATE9. VAR3 $10.; CREATE WORK.BITI.VIEW; SELECT VAR0 VAR1 VAR3 VAR6; SAS output: Obs VAR0 VAR1 VAR3 VAR MRI 25MAR MRI Port 28MAR Port 28MAR Port MRI 28AUG MRI MRI MRI. PROC IMPORT The PROC IMPORT method is similar to PROC ACCESS. The settings are the same as PROC ACCESS. The code can also be generated using the IMPORT Data Wizard. This method can access the newer version Excel file (Excel 97). When importing Excel 97 data, the data range definition has to be created in the Excel file. The menu sequence is: INSERT NAME DEFINE. Provide a name for the range and enter the range reference, Click on ADD. PROC IMPORT can contain empty rows or columns in the defined input data range whereas PROC ACCESS does not allow for this and will result in an error.
3 PROC IMPORT evaluates the first 20 rows of the column to determine the attributes of the variables. This can be a drawback since it can cause problems both for the mixed data type fields and in the truncation of data. For example, if the fields are interpreted as numeric, based on the first 20 observations, any subsequent character data will result in missing data in these fields. Similarly, truncation will occur if the length setting does not accommodate the longer fields occurring after observation 20. The default of 20 row setting can be increased through the following commands: Go to the SAS interactive display, type REGEDIT on command line to open Registry Editor window, click PRODUCTS BASE EFI on the right window click GuessingRows enter a new value click OK. The following is a coding example and the SAS output of the Excel file that was shown previously. PROC IMPORT OUT= WORK.EXTRACT DATAFILE= "C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\BITI.XLS" DBMS=EXCEL5 REPLACE; SHEET='TRACKING'; RANGE='A2..H11'; /*DEFINE THE DATA RANGE A2..H11*/ GETNAMES=YES; Obs VAR0 VAR1 VAR2 VAR3 VAR4 VAR5 VAR6 VAR /17/03 MRI 03/05/03 03/25/03 03/25/ /17/03 MRI /10/03 Port 03/05/03 03/28/03 03/28/ /12/03 Port 03/05/03 03/28/03 03/28/ /07/03 Port 08/25/ /04/03 MRI 08/25/03 08/28/03 08/29/ /04/03 MRI /04/03 MRI /04/03 MRI... PROC SQL SAS ACCESS to ODBC (Open Database Connectivity) may be considered the most flexible technique in handling large databases allowing conditional access to the data, and following the standard PROC SQL format. For this method, SAS/ACCESS Interface to ODBC needs to be installed and licensed. A Microsoft Excel ODBC driver must also be installed and configured on your PC or server. PROC SQL allows access to the features and structure of the SQL language, such as the SELECT statement to select certain fields and WHERE to filter information. PROC ACCESS can be helpful when Excel file information is changing on a regular basis with rows and column being added in. There is no need to define variable names unless renaming is needed. The database or Excel can be opened or closed upon execution. This method can be very convenient if the database (Excel file) name and location are fixed since the setting on the PC control panel or server for the data location is required. Also each access data source (Excel file) requires an alias name and a setting on the Control Panel or Server. The setting can be tedious if a lot of Excel files are processed, and must be manually defined on each computer before running the same PROC SQL code. By default, the procedure sets the character field length as 200 so that text truncation usually is not an issue unless the contents are too long. Mixed data type can be an issue and cause inadvertent missing results. To avoid this issue, the field has to be defined as a text field in Excel. To do so, select the column and go to DATA dropdown list Text to Columns menu click NEXT> for the step 1 and step 2 choose TEXT button on the step 3 and click Finish. Additionally, the date/time field is converted to datetime22 format. To get the correct date or time information, use DATEPART or TIMEPART function associated with format= in the SELECT statement. The following code is an example of the usage of PROC SQL, accessing MS ACCESS and Excel files. PROC SQL; CONNECT TO ODBC AS PT_QCS (DSN=PT_QCS); /** DSN= PUT THE NAME DEFINED IN CONTROL PANEL **/ CONNECT TO ODBC AS CRAEDIT (DSN=CRAUPDATE); /**ACCESS TO EXCEL FILE **/ CONNECT TO ODBC AS AERECON (DSN=AERECON); /** ACCESS TO EXCEL FILE**/ CONNECT TO ODBC AS SAE (DSN=ACCESS) ; /*** ACCESS TO MS ACCESS**/ CREATE TABLE SAE AS SELECT *FROM CONNECTION TO SAE (SELECT SUBJECTNBR AS PAT_ID, FOLLOWUP AS FU_NO, SAEID, PROTNO FROM TBLSAE WHERE PROTNO = 'XXXX-XXX'); CREATE TABLE PTQCS AS SELECT PATIENT, OUTSTAND FROM CONNECTION TO PT_QCS
4 (SELECT * FROM "CTQCS$") WHERE PATIENT^=.; CREATE TABLE CRAEDIT AS SELECT PATIENT_ AS PATIENT, F5 AS COMPLET1, DATEPART(F6) AS NO_QRFS FORMAT=MMDDYY8. FROM CONNECTION TO CRAEDIT (SELECT * FROM "SHEET1$") WHERE PATIENT_ ^=.; ALTER TABLE CRAEDIT MODIFY COMPLET1 CHAR(10) FORMAT=$10.; CREATE TABLE AERECON AS SELECT SUBJ_ AS PATIENT_, _1ST_REC, LVL_3_CL AS LVL3CLN, LVL_5_CL AS LVL5CLN FROM CONNECTION TO AERECON (SELECT * FROM "AE_SAE MASTER RECON$"); ALTER TABLE AERECON MODIFY PATIENT_ CHAR(8) FORMAT=$8., LVL3CLN CHAR(50) FORMAT=$50., LVL5CLN CHAR(50) FORMAT=$50.; DISCONNECT FROM PT_QCS; DISCONNECT FROM CRAEDIT; DISCONNECT FROM AERECON; DISCONNECT FROM SAE; QUIT; DATA STEP The DATA step is a traditional method that is commonly used. It does not require any additional software outside of SAS/BASE. To begin, the Excel file needs to be saved as.csv file (comma separate file). CSV file does not allow multiple worksheets and therefore one worksheet per CSV file will be needed. This method is easy to use but can be cumbersome because each variable name and length has to be defined. It may result in truncation if the variable length is not assigned correctly. Additionally, observations may be inadvertently omitted if the LRECL is not defined appropriately. For example, our default LREC=256 has to be increased to LRECL=500 to avoid data omission problems. Inclusion of options MISSOVER and TRUNCOVER is suggested for this method to avoid incorrect or missing information on short line or short value data. Option DSD is needed to handle embedded commas in text values. When executing this method the Excel file has to be closed upon execution. This method is not generally recommended due to limitations as compared to other methods. Example is as following: Excel file: a :45:30 AM b :36:45 PM c :28:00 PM d 2 2 e U The SAS code: DATA TEST2; INFILE 'C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\TEST2.CSV' DELIMITER = ',' MISSOVER DSD LRECL=500; FORMAT TRTGRP $1. PTID $1. SITE $1. AGE $2. TIME TIMEAMPM8. ; INFORMAT TRTGRP $1. PTID $1. SITE $1. AGE $2. TIME TIME11. ; /*** INFORMAT HAS TO BE TIME, NOT TIMEAMPM **/ INPUT TRTGRP $ PTID $ SITE $ AGE $ TIME; The SAS output: Obs TRTGRP PTID SITE AGE TIME 1 a :45 AM 2 b :36 PM 3 c :28 PM 4 d e U
5 DYNAMIC DATA EXCHANGE (DDE) Dynamic Data Exchange (DDE) is also easy and flexible to use but is only available in the PC environment. This method does not require any additional license or installation since it is a part of Base SAS. Because it involves a DATA step, this method requires a list of variable names to be explicitly defined. Sample code and the output are shown below. The input file is from the example above, test2.csv file (saved as test2.xls). OPTIONS NOXWAIT NOXSYNC MISSING=' ' SYMBOLGEN; X '"C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\EXCEL.EXE"'; /**EXCEL EXECUTION FILE**/ WAIT_SEC=SLEEP(5); FILENAME EXCELCMD DDE 'EXCEL SYSTEM'; FILE EXCELCMD; PUT '[OPEN("C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\TEST2.XLS")]'; FILENAME INEXCEL DDE "EXCEL [TEST2.XLS]TEST2!R1C1:R5C5" NOTAB; DATA ONE; INFILE INEXCEL DLM='09'X DSD MISSOVER; FORMAT TRTGRP $1. PTID $1. SITE $1. AGE $2. TIME TIMEAMPM8. ; INFORMAT TRTGRP $1. PTID $1. SITE $1. AGE $2. TIME TIME11. ; INPUT TRTGRP $ PTID $ SITE $ AGE $ TIME; FILE EXCELCMD; PUT '[QUIT]'; SAS output: Obs TRTGRP PTID SITE AGE TIME 1 a :45 AM 2 b :36 PM 3 c :28 PM 4 d e U DATA WAREHOUSING Once data from Excel are read into SAS data sets they can be merged together with other SAS data sets such as the study Clinical Database. Integration of various tracking Excel files with clinical data helps provide the big picture to complete the data management, clinical monitoring and safety activities required for the conduct of the trial. For example, patient termination and death dates can be consolidated with Excel files that track Case Report Forms in-house, monitoring and Safety reporting activities. Projected timings, missing information or discrepancies in information can be summarized and reported programmatically. The following report provides an example. The problems/notes column and Date issues column indicate the discrepancies. At the bottom of the report, there is a summary report display the overall discrepancies and data collection status. Check of Consistency of Death reports and Dates SAE Subj. (MW) -CRF In- -Death Dates- Status Problems/ Date ID Death Term. Death SAE Death Death CRF Term. Date at Term. Notes Issues Yes Yes Yes 01/04/ /04/ /04/2004 DEAD Yes No No 12/30/2003 Death & Term form missing Yes Yes No 11/17/ /05/2003 ALIVE Term. Status is Dth., but Term. Date is bfr. Dth Date Yes No No 01/05/2004 Death & Term form missing Yes Yes No 07/24/ /24/2003 DEAD Term. form indicates death, also in SAE db. Not captured on Death form
6 Total Death not Total Death not Total Medwatch Total Death Page Included in Included in Total Termination Grand Total Grand Total Reported Deaths Reported Deaths Medwatch Count Death Page Count Forms in Deaths Terminations EXPORTING SAS TO EXCEL The data warehouse can also be exported back to Excel to provide the information to various audiences, such as Data Management, Clinical, Safety or Finance. The methods that are used to transfer data from SAS back to Excel are different, although some of the methods can be similar with only minor syntax changes. SAS/ACCESS (PROC DBLOAD, PROC EXPORT), DATA step, DDE, and ODS are discussed. PROC SQL procedure is not recommended for exporting data due to the overhead effort, although it is a very powerful method for importing data, while other methods are more convenient. PROC DBLOAD To use this method, SAS/ACCESS to PC Files Formats has to be installed and licensed. This method is an easy quick way to turn the SAS data set into an Excel file. Certain output fields can be selected and the format of the fields can be addressed in the program. The output fields can also be renamed. Conditional export can be conducted. The ability to use SAS labels as Excel file headers is another advantage. However, this procedure cannot write to individual Excel worksheets within one Excel file. Also, the Excel file cannot pre-exist in the same location before running the program therefore using Excel file template is not suitable. This method only creates new Excel files, and cannot append data to any Excel file that already exists. Setting up a reusable macro in the Excel file is a solution to compensate the lacking usage of the Excel template. To do this, open Excel, go to Tools Macro Record new Macro, give a macro name, record the cell setting format, page layout, and click Stop Record save the Excel file containing the macro as personal.xls under C:\Program Files\Microsoft Office\Office\XLSTART. Storing the macro(s) in the personal.xls under the specially named subfolder XLSTART allows the access of the macro to any Excel file, acting as an autoexec file to execute any SAS program. To use the macro, open the Excel file, go to Tools Macro Macros select the macro name that you want to use click run. In this way, the simple procedure can be reusable with the expecting Excel formatted cells and printing setup. Below is the PROC DBLOAD example. OPTIONS NOXWAIT NOXSYNC; X 'DEL C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\DBTEST.XLS'; **DELETE IT IN CASE IT EXIST; WAIT_SEC=SLEEP(5); LIBNAME EXFILE 'C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG'; PROC DBLOAD DBMS=EXCEL DATA=EXFILE.A_PT_MON; PATH="C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\DBTEST.XLS"; PUTNAMES YES; LABEL; RESET ALL; WHERE PTID>2000; LIMIT=0; RENAME CRA=CRAS; LOAD; Data Processing Status Death Date in Safety Database Patient ID CRAS DEATH DATE (CHAR) DATE OF TERMINATION 2004 John Smith 01/04/ /04/ /04/ John Smith 12/21/ /21/ /21/ Martha 01/19/ /19/ /19/ Martha 01/04/ /04/ /04/ Patricia 12/30/ Patricia 09/05/ /17/03 Manual Review Complete
7 DYNAMIC DATA EXCHANGE (DDE) This method is the most powerful way to export SAS data to Excel. It does not require any additional software installation other than SAS/BASE and Excel. An Excel template can be created and applied in situations when the data change but the structure is retained. The ability to apply Excel templates and append data to existing Excel file are unique advantages over other exporting methods. Additionally with simple syntax, the method allows the creation of multiple Excel files conditionally. For example, if each clinical monitor needs a subset of the information for his/her specific site, each site can be a stand-alone Excel file. The same logic can be used to create multiple worksheets, as in the following example. Furthermore, additional formatting can be added to the Excel file by using SAS code, such as add a row in between patients and do not show the repeated information on certain columns. This method allows SAS to control the Excel application, such as send commands that clear previous Excel data contents, save the file, or control the formatting and position of variables. The limitation of this method is that every variable name needs to be defined. The data range also needs to be defined. The information may be truncated if the LRECL= is not big enough. The same problem may occur when the data output range is not specified big enough. The Excel file name should be pre-assigned, i.e., an empty file has to be created in advance. This process can be manually done before running the SAS code, or incorporated as part of the SAS code. The DDE is only available on OS/2 and Windows platforms. The Excel file shown above is created by the SAS code below to report the summary information with the user defined template, which can be printed on a legal paper with a nice layout. In this Excel file, each study related information is on a specific worksheet. On each worksheet, each clinical site is separated by an underline row to improve readability. Clinical Site Name only appears once on all the clinical site related rows. ******* INITIATE EXCEL, EXCEL HAS TO BE CLOSED ********; X '"C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\EXCEL.EXE"';
8 OPTIONS NOXWAIT NOXSYNC MISSING=' ' SYMBOLGEN; WAIT_SEC=SLEEP(5); ***ALLOW DOS FINISH THE INITIATION BEFORE NEXT STEP; FILENAME EXCELCMD DDE 'EXCEL SYSTEM'; FILE EXCELCMD; ***COMMEND TO OPEN THE EXCEL FILE; PUT '[OPEN("\\S1\DATA\DEVLPMNT\CLINICAL\REGULATORY DOCUMENT TRACKING\REG_DOC_TRACKING_SHEET.XLS")]'; ***USING MACRO TO ALLOW THE REPEATED PROCESS TO CREATE DIFFERENT WORKSHEETS FOR DIFFERENT STUDIES, PARAMETERS ARE DEFINED AS: OUTNAME IS TO DEFINE FILE NAME IN FILE STATEMENT, COND= IS TO SELECT STUDIES, OUTS= IS TO GIVE THE WORKSHEET LOCATION AND RANGE; %MACRO OUTFILES(OUTNAME, COND=, OUTS=); FILENAME &OUTNAME &OUTS; *** UNXXX IS USED TO DEFINE THE UNDERLINE LENGTH THAT SEPARATE THE CENTER NAME ON THE EXCEL FILE REPORT; SET OUTALL END=EOF; BY USERS CENTERNO CENTERID SORTORD; /*BY STATEMENT ALLOW REPEATED INFO APPEAR ONCE*/ UNDT=REPEAT('_',6); /***ASSIGN UNDERLINE LENGTH FOR DATE RELATED FIELDS **/ UNYS=REPEAT('_',2); /** UNDERLINE LENGTH FOR YES, NO FIELDS ***/ UND3 =REPEAT('_',3); /** UNDERLINE REPEAT 3 TIMES FOR THE FIELDS THAT NEEDED**/ UND14=REPEAT('_',14); UND16=REPEAT('_',16); UND21=REPEAT('_',21); UND23=REPEAT('_',23); FILE &OUTNAME LRECL=8000; &COND PUT PI_CNT '09'X SITENO '09'X USERSO '09'X CRADT '09'X INITDT '09'X AMENDNO '09'X PSIGNDT '09'X PPROVDT '09'X RELEVEL2'09'X IPROVDT'09'X SPNSPROV '09'X SPNSRECV '09'X F1572DT'09'X LASTNAME'09'X CVRECV'09'X PREVDT'09'X EFFDT '09'X BROCHDTC'09'X MEMBLIST'09'X LABSITE'09'X LABTYPEC '09'X LABDT '09'X INIVSDT'09'X DRUGDT'09'X DVCDT; IF LAST.CENTERID THEN PUT UND21 '09'X UND3 '09'X UND16 '09'X UNDT '09'X UNDT '09'X UNDT '09'X UNDT '09'X UNDT '09'X UNDT '09'X UNDT '09'X UNYS '09'X UNYS '09'X UNDT '09'X UND14 '09'X UNYS '09'X UNDT '09'X UNDT '09'X UNDT '09'X UND21 '09'X UND23 '09'X UND3 '09'X UNDT '09'X UNDT '09'X UNDT '09'X UNDT '09'X ; %MEND; *** THE FOLLOWING STEP IS TO CLEAR THE CONTENTS OF SPECIFIC WORKSHEETS; FILE EXCELCMD; PUT '[WORKBOOK.ACTIVATE("XXXX-1111")]'; PUT '[SELECT("R2C1:R100C26")]'; PUT '[CLEAR(3)]'; ** CHOSE 3 MEANS CLEAR CONTENTS; PUT '[SELECT("R1C1")]'; **CLEAR THE PREVIOUS SELECT RANGE; PUT '[WORKBOOK.ACTIVATE("XXXX-0304")]';
9 PUT '[SELECT("R2C1:R100C26")]'; PUT '[CLEAR(3)]'; PUT '[SELECT("R1C1")]'; **MACRO CALL TO SET THE OUTPUT CONDITION FOR THE SPECIFIC STUDY TO THE DESIGNATED WORKSHEET (XXXX-1111) FROM THE RANGE ROW 2 COLUMN 1 TO ROW 100 COLUMN 26; %OUTFILES(OUTFILE1, COND=%STR(WHERE PROTOCOL='XXXX-1111';), OUTS=%STR(DDE "EXCEL \\S1\DATA\DEVLPMNT\CLINICAL\REGULATORY DOCUMENT TRACKING\[REG_DOC_TRACKING_SHEET.XLS]XXXX-1111!R2C1:R100C26") ***COMMAND TO ALLOW EXCEL TO SAVE THE FILE AND QUIT THE SOFTWARE; FILE EXCELCMD; PUT '[SAVE()]'; PUT '[QUIT()]'; PROC EXPORT This method is the opposite of PROC IMPORT. Using IMPORT/EXPORT Wizard instruction can make this procedure very easy to follow. EFI (External File Interface) facility can be used to change the fields name, format, and data type. The method has the same limitation as PROC DBLOAD, lacking the capacity of controlling worksheets in one file. The method does not allow conditional output. *** EXPORTING DATA TO EXCEL; LIBNAME EXFILE 'C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG'; PROC EXPORT DATA= EXFILE.A_PT_MON OUTFILE= "C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\EXPRT.XLS" DBMS=EXCEL2000 REPLACE; DATA STEP This method is useful if you do not have SAS/ACCESS components. ASCII files can be created using tab delimiters. The conditional output task can be fulfilled by using the IF statement. The output fields can be selective. The limitation is that all the fields need to be predefined and the header parts of the Excel file fields need to be specified in the program, as does format and data type. This method cannot access to a specific worksheet or put the information into multiple worksheets. LIBNAME TESTLIB 'C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG'; FILE 'C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG\OUTEXCEL.XLS'; SET TESTLIB.TEST2; IF _N_=1 THEN PUT 'TREATMENT' '09'X 'PTID' '09'X 'SITE' '09'X 'AGE' '09'X 'TIME'; PUT TRTGRP'09'X PTID '09'X SITE '09'X AGE '09'X TIME; OUTPUT DELIVERY SYSTEM (ODS) ODS is a great method to export SAS data to Excel files in Version 8 and higher. It provides some flexibility, which is a much better approach compared to most export methods. Variables can be selected by this method. Variable types can also be defined. Additionally the font and style can be modified using PROC TEMPLATE or HTML style sheets, although this requires some familiarity of the syntax. However, this method still cannot provide the flexibility found in the DDE. Access to multiple Excel worksheets by this method might be difficult. The user defined Excel template cannot be used. In order to use a template, PROC TEMPLATE or Style sheet have to be created, which requires time and management, by the SAS user rather than the Excel user. Another drawback is that the Excel file has to be closed upon program execution, which is a problem if other users are accessing the file. Following is an example of the SAS code and the output: LIBNAME DATAS 'C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG' ; ODS LISTING CLOSE;
10 ODS HTML PATH='C:\WINNT\PROFILES\NLI\DESKTOP\PHARMSUG' BODY='TESTHTML.XLS' STYLE=MINIMAL; ODS NOPTITLE; SET DATAS.TEST2; PUT TRTGRP PTID SITE AGE TIME; FILE PRINT ODS; PUT _ODS_; ODS HTML CLOSE; ODS LISTING; The SAS System TRTGRP PTID SITE AGE TIME a :45 AM b :36 PM c :28 PM d 2 2. e U AUTOMATE THE PROCEDURE BY SCHEDULING SAS EXECUTION Since some information from the import data sources are updated daily, the integrated report in Excel format also needs to be updated frequently. To accomplish the task, using Windows platform, the procedure automation can be conducted by setting an execution schedule in SAS. The example of setting up an automated procedure is as following: %MACRO DOLOOP; %DO I=5 %TO 9 ; *** ASSIGN PROGRAM RUN FROM 1/5/04 TO 1/09/04 DAILY AT 5:01:00AM; START=DHMS(MDY(1,&I,2004),05,01,0); CALL SYMPUT('START',START); %LET AWOKE=%SYSFUNC(WAKEUP(&START)); %CONTROL; *** THE PROGRAM THAT NEED TO BE RUN, MAKE IT AS A MACRO; %END; %MEND; %DOLOOP; CONCLUSION This paper puts each IMPORT/EXPORT method in the context of usage benefits, pitfalls, and limitations to help the user to determine the right method for their purpose. In general, there are several aspects that need to be considered. When importing data, the accuracy is very important, such as date, time, truncation, and missing data issues. While exporting data, the flexibility to fit the Excel users need in an automated fashion is very important, although the above issues also need to be taken into account. The advantage and disadvantage of each method can also change over time. SAS has been improving their procedures and more features are released with each new version of SAS. Starting with Version 9.0, SAS allows LIBNAME to be used in conjunction with ODBC, mixed data type is allowed with the LIBNAME statement MIXED=yes. With version 9.1, PROC IMPORT support MIXED=yes to also allow mixed data type. By implementing SAS data warehousing procedures in conjunction with Importing and Exporting Excel files, information can be consolidated to provide the big picture in the clinical trial setting. This process of importing multiple Excel data sets, creating a data warehouse and delivering an integrated Excel file has been successfully applied at Pharmacyclics, Inc.. Applications include:
11 Tracking Safety information: ensuring timely reviewing and reporting of Safety events, Tracking Clinical Monitoring and database status to allow freezing the database on a by-patient basis, Tracking in order to coordinate the timing of external committee meetings such as Data Safety Monitoring Boards by integrating patient enrollment, adverse event mapping, adverse event and serious adverse event reconciliation, CRFs in-house. REFERENCES Jensen, Karl and Greathouse, Matt (1999), From SAS Access to Building an Automated Report Application, Proceedings of the 7 TH Annual Western Users of SAS Software Conference, 7, Paper Loren, Judy (2003), SAS/ACCESS to External Databases: Wisdom for the Warehouse user, Proceedings of the 28 th Annual SAS Users Group International Conference, 28, Paper Mumma, Michael T. (1999), The Redmond to Cary Express A Comparison of Methods to Automate Data Transfer Between SAS and Microsoft Excel, Proceedings of the 12th Annual Northeast SAS Users Group Conference, 12, Paper Parker, Chevell (2003), Generating Custom Excel Spreadsheets using ODS, Proceedings of the 28 th Annual SAS Users Group International Conference, 28, Paper SAS Institute Inc., Technical Support Notes, TS-589B : Importing Excel Files to SAS Datasets, Cary, NC: SAS Institute, Inc. SAS Institute Inc. (2000), SAS OnlineDoc, Version 8, Cary, NC: SAS Institute, Inc. ACKNOWLEDGMENTS The authors would like to express the appreciation to Eugene Yeh and Sy Truong for their technical contribution and suggestions. Also the gratitude goes to our coworkers for their encouragement, Marilyn Ciraulo, Shuling Hwang, Sho-Rong Lee, Betty Harris, and Brad Harris. Na Li would like to honor God for His inspiration, encouragement and support in writing this paper. CONTACT INFORMATION If you have any comments and questions regarding this paper, please contact: Na Li Pharmacyclics, Inc. 995 East Arques Avenue Sunnyvale, CA (408) (work) [email protected] SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are trademarks of their respective companies.
Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA
Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA ABSTRACT PROC EXPORT, LIBNAME, DDE or excelxp tagset? Many techniques exist to create an excel file using SAS.
Importing Excel Files Into SAS Using DDE Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA
Importing Excel Files Into SAS Using DDE Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA ABSTRACT With the popularity of Excel files, the SAS user could use an easy way to get Excel files
ABSTRACT INTRODUCTION SAS AND EXCEL CAPABILITIES SAS AND EXCEL STRUCTURES
Paper 85-2010 Choosing the Right Tool from Your SAS and Microsoft Excel Tool Belt Steven First and Jennifer First, Systems Seminar Consultants, Madison, Wisconsin ABSTRACT There are over a dozen ways to
Methodologies for Converting Microsoft Excel Spreadsheets to SAS datasets
Methodologies for Converting Microsoft Excel Spreadsheets to SAS datasets Karin LaPann ViroPharma Incorporated ABSTRACT Much functionality has been added to the SAS to Excel procedures in SAS version 9.
Using DDE and SAS/Macro for Automated Excel Report Consolidation and Generation
Using DDE and SAS/Macro for Automated Excel Report Consolidation and Generation Mengxi Li, Sandra Archer, Russell Denslow Sodexho Campus Services, Orlando, FL Abstract Each week, the Sodexho Campus Services
Create an Excel report using SAS : A comparison of the different techniques
Create an Excel report using SAS : A comparison of the different techniques Romain Miralles, Clinovo, Sunnyvale, CA Global SAS Forum 2011 April 2011 1 1. ABSTRACT Many techniques exist to create an Excel
Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access
Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix Jennifer Clegg, SAS Institute Inc., Cary, NC Eric Hill, SAS Institute Inc., Cary, NC ABSTRACT Release 2.1 of SAS
Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC
ABSTRACT PharmaSUG 2012 - Paper CC07 Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC In Pharmaceuticals/CRO industries, Excel files are widely use for data storage.
Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel
Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel Nathan Clausen, U.S. Bureau of Labor Statistics, Washington, DC Edmond Cheng, U.S.
Using Delphi Data with Excel and Access
$FDGHPLF&RPSXWLQJ &RPSXWHU 7UDLQLQJ 6XSSRUW 6HUYLFHV 1HWZRUNLQJ6HUYLFHV :HEHU%XLOGLQJ Using Delphi Data with Excel and Access Using Delphi Data The raw data used to create the CSU financial, human resource,
Advanced Excel 10/20/2011 1
Advanced Excel Data Validation Excel has a feature called Data Validation, which will allow you to control what kind of information is typed into cells. 1. Select the cell(s) you wish to control. 2. Click
Flat Pack Data: Converting and ZIPping SAS Data for Delivery
Flat Pack Data: Converting and ZIPping SAS Data for Delivery Sarah Woodruff, Westat, Rockville, MD ABSTRACT Clients or collaborators often need SAS data converted to a different format. Delivery or even
SAS 9.4 PC Files Server
SAS 9.4 PC Files Server Installation and Configuration Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2014. SAS 9.4 PC Files Server: Installation
Excel Database Management Microsoft Excel 2003
Excel Database Management Microsoft Reference Guide University Technology Services Computer Training Copyright Notice Copyright 2003 EBook Publishing. All rights reserved. No part of this publication may
Introduction. Why Use ODBC? Setting Up an ODBC Data Source. Stat/Math - Getting Started Using ODBC with SAS and SPSS
Introduction Page 1 of 15 The Open Database Connectivity (ODBC) standard is a common application programming interface for accessing data files. In other words, ODBC allows you to move data back and forth
Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON
Paper SIB-105 Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON ABSTRACT The advent of the ODS ExcelXP tagset and its many features has afforded the
How To Create A Report In Excel
Table of Contents Overview... 1 Smartlists with Export Solutions... 2 Smartlist Builder/Excel Reporter... 3 Analysis Cubes... 4 MS Query... 7 SQL Reporting Services... 10 MS Dynamics GP Report Templates...
Tales from the Help Desk 3: More Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board
Tales from the Help Desk 3: More Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board INTRODUCTION In 20 years as a SAS consultant at the Federal Reserve Board, I have seen SAS users make
Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA
Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA ABSTRACT The SAS Institute has a long history of commitment to openness
Data Presentation. Paper 126-27. Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs
Paper 126-27 Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Tugluke Abdurazak Abt Associates Inc. 1110 Vermont Avenue N.W. Suite 610 Washington D.C. 20005-3522
9.1 SAS/ACCESS. Interface to SAP BW. User s Guide
SAS/ACCESS 9.1 Interface to SAP BW User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS/ACCESS 9.1 Interface to SAP BW: User s Guide. Cary, NC: SAS
Combining SAS LIBNAME and VBA Macro to Import Excel file in an Intriguing, Efficient way Ajay Gupta, PPD Inc, Morrisville, NC
ABSTRACT PharmaSUG 2013 - Paper CC11 Combining SAS LIBNAME and VBA Macro to Import Excel file in an Intriguing, Efficient way Ajay Gupta, PPD Inc, Morrisville, NC There are different methods such PROC
We begin by defining a few user-supplied parameters, to make the code transferable between various projects.
PharmaSUG 2013 Paper CC31 A Quick Patient Profile: Combining External Data with EDC-generated Subject CRF Titania Dumas-Roberson, Grifols Therapeutics, Inc., Durham, NC Yang Han, Grifols Therapeutics,
Mail Merge Creating Mailing Labels 3/23/2011
Creating Mailing Labels in Microsoft Word Address data in a Microsoft Excel file can be turned into mailing labels in Microsoft Word through a mail merge process. First, obtain or create an Excel spreadsheet
Create a New Database in Access 2010
Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...
Importing and Exporting With SPSS for Windows 17 TUT 117
Information Systems Services Importing and Exporting With TUT 117 Version 2.0 (Nov 2009) Contents 1. Introduction... 3 1.1 Aim of this Document... 3 2. Importing Data from Other Sources... 3 2.1 Reading
Exploiting Key Answers from Your Data Warehouse Using SAS Enterprise Reporter Software
Exploiting Key Answers from Your Data Warehouse Using SAS Enterprise Reporter Software Donna Torrence, SAS Institute Inc., Cary, North Carolina Juli Staub Perry, SAS Institute Inc., Cary, North Carolina
Tips and Tricks SAGE ACCPAC INTELLIGENCE
Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,
Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute
Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute ABSTRACT This paper illustrates how to use ODS markup to create PivotTable
SAS/ACCESS 9.3 Interface to PC Files
SAS/ACCESS 9.3 Interface to PC Files Reference SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2011. SAS/ACCESS 9.3 Interface to Files: Reference.
Introduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
User's Guide. Using RFDBManager. For 433 MHz / 2.4 GHz RF. Version 1.23.01
User's Guide Using RFDBManager For 433 MHz / 2.4 GHz RF Version 1.23.01 Copyright Notice Copyright 2005 Syntech Information Company Limited. All rights reserved The software contains proprietary information
How To Write A File System On A Microsoft Office 2.2.2 (Windows) (Windows 2.3) (For Windows 2) (Minorode) (Orchestra) (Powerpoint) (Xls) (
Remark Office OMR 8 Supported File Formats User s Guide Addendum Remark Products Group 301 Lindenwood Drive, Suite 100 Malvern, PA 19355-1772 USA www.gravic.com Disclaimer The information contained in
An Overview of REDCap, a secure web-based application for Electronic Data Capture
PharmaSUG 2014 - Paper PO19 An Overview of REDCap, a secure web-based application for Electronic Data Capture Kevin Viel; inventiv Health Clinical and Histonis, Incorporated; Atlanta, GA ABSTRACT REDCap
It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.
Pharmasug 2014 - paper CC-47 It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks. ABSTRACT William E Benjamin Jr, Owl Computer
From Database to your Desktop: How to almost completely automate reports in SAS, with the power of Proc SQL
From Database to your Desktop: How to almost completely automate reports in SAS, with the power of Proc SQL Kirtiraj Mohanty, Department of Mathematics and Statistics, San Diego State University, San Diego,
Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication
Technical Paper Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication Release Information Content Version: 1.0 October 2015. Trademarks and Patents SAS Institute
Improving Your Relationship with SAS Enterprise Guide
Paper BI06-2013 Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc. ABSTRACT SAS Enterprise Guide has proven to be a very beneficial tool for both novice and experienced
DiskPulse DISK CHANGE MONITOR
DiskPulse DISK CHANGE MONITOR User Manual Version 7.9 Oct 2015 www.diskpulse.com [email protected] 1 1 DiskPulse Overview...3 2 DiskPulse Product Versions...5 3 Using Desktop Product Version...6 3.1 Product
Importing TSM Data into Microsoft Excel using Microsoft Query
Importing TSM Data into Microsoft Excel using Microsoft Query An alternate way to report on TSM information is to use Microsoft Excel s import facilities using Microsoft Query to selectively import the
Lesson 07: MS ACCESS - Handout. Introduction to database (30 mins)
Lesson 07: MS ACCESS - Handout Handout Introduction to database (30 mins) Microsoft Access is a database application. A database is a collection of related information put together in database objects.
Search help. More on Office.com: images templates
Page 1 of 14 Access 2010 Home > Access 2010 Help and How-to > Getting started Search help More on Office.com: images templates Access 2010: database tasks Here are some basic database tasks that you can
SPSS: Getting Started. For Windows
For Windows Updated: August 2012 Table of Contents Section 1: Overview... 3 1.1 Introduction to SPSS Tutorials... 3 1.2 Introduction to SPSS... 3 1.3 Overview of SPSS for Windows... 3 Section 2: Entering
Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute
Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute JMP provides a variety of mechanisms for interfacing to other products and getting data into JMP. The connection
ABSTRACT INTRODUCTION CLINICAL PROJECT TRACKER OF SAS TASKS. Paper PH-02-2015
Paper PH-02-2015 Project Management of SAS Tasks - Excel Dashboard without Using Any Program Kalaivani Raghunathan, Quartesian Clinical Research Pvt. Ltd, Bangalore, India ABSTRACT Have you ever imagined
Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc
Paper 039-29 Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc ABSTRACT This paper highlights the programmable aspects of SAS results distribution using electronic
Managing Tables in Microsoft SQL Server using SAS
Managing Tables in Microsoft SQL Server using SAS Jason Chen, Kaiser Permanente, San Diego, CA Jon Javines, Kaiser Permanente, San Diego, CA Alan L Schepps, M.S., Kaiser Permanente, San Diego, CA Yuexin
SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC
Paper CS-053 SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC ABSTRACT Business folks use Excel and have no desire to learn SAS Enterprise Guide? MS PowerPoint presentations
SAS og Excel. Kender du fem forskellige måder at overføre data mellem SAS og Excel? Gert Nissen, seniorkonsulent
SAS og Excel Kender du fem forskellige måder at overføre data mellem SAS og Excel? Gert Nissen, seniorkonsulent Copyright 2011 SAS Institute Inc. All rights reserved. Indhold Introduktion 5 metoder Konklusion
A Recursive SAS Macro to Automate Importing Multiple Excel Worksheets into SAS Data Sets
PharmaSUG2011 - Paper CC10 A Recursive SAS Macro to Automate Importing Multiple Excel Worksheets into SAS Data Sets Wenyu Hu, Merck Sharp & Dohme Corp., Upper Gwynedd, PA Liping Zhang, Merck Sharp & Dohme
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1
MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...
DBF Chapter. Note to UNIX and OS/390 Users. Import/Export Facility CHAPTER 7
97 CHAPTER 7 DBF Chapter Note to UNIX and OS/390 Users 97 Import/Export Facility 97 Understanding DBF Essentials 98 DBF Files 98 DBF File Naming Conventions 99 DBF File Data Types 99 ACCESS Procedure Data
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
Results CRM 2012 User Manual
Results CRM 2012 User Manual A Guide to Using Results CRM Standard, Results CRM Plus, & Results CRM Business Suite Table of Contents Installation Instructions... 1 Single User & Evaluation Installation
Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.
Paper HOW-071 Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring SAS data and analytical results
Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports
Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports Jeff Cai, Amylin Pharmaceuticals, Inc., San Diego, CA Jay Zhou, Amylin Pharmaceuticals, Inc., San Diego, CA ABSTRACT To supplement Oracle
SUGI 29 Coders' Corner
Paper 074-29 Tales from the Help Desk: Solutions for Simple SAS Mistakes Bruce Gilsen, Federal Reserve Board INTRODUCTION In 19 years as a SAS consultant at the Federal Reserve Board, I have seen SAS users
Setting Up ALERE with Client/Server Data
Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,
Intro to Mail Merge. Contents: David Diskin for the University of the Pacific Center for Professional and Continuing Education. Word Mail Merge Wizard
Intro to Mail Merge David Diskin for the University of the Pacific Center for Professional and Continuing Education Contents: Word Mail Merge Wizard Mail Merge Possibilities Labels Form Letters Directory
How to easily convert clinical data to CDISC SDTM
How to easily convert clinical data to CDISC SDTM Ale Gicqueau, Clinovo, Sunnyvale, CA Miki Huang, Clinovo, Sunnyvale, CA Stephen Chan, Clinovo, Sunnyvale, CA INTRODUCTION Sponsors are receiving clinical
Microsoft Business Contact Manager Version 2.0 New to Product. Module 4: Importing and Exporting Data
Microsoft Business Contact Manager Version 2.0 New to Product Module 4: Importing and Exporting Data Terms of Use 2005 Microsoft Corporation. All rights reserved. No part of this content may be reproduced
Microsoft Office. Mail Merge in Microsoft Word
Microsoft Office Mail Merge in Microsoft Word TABLE OF CONTENTS Microsoft Office... 1 Mail Merge in Microsoft Word... 1 CREATE THE SMS DATAFILE FOR EXPORT... 3 Add A Label Row To The Excel File... 3 Backup
Scheduling Data Import from Avaya Communication Manager into Avaya Softconsole MasterDirectory
Scheduling Data Import from Avaya Communication Manager into Avaya Softconsole MasterDirectory ABSTRACT This Application Note details step-by-step instructions on how to configure the scheduling feature
Using Proc SQL and ODBC to Manage Data outside of SAS Jeff Magouirk, National Jewish Medical and Research Center, Denver, Colorado
Using Proc SQL and ODBC to Manage Data outside of SAS Jeff Magouirk, National Jewish Medical and Research Center, Denver, Colorado ABSTRACT The ability to use Proc SQL and ODBC to manage data outside of
Microsoft Access 2007 Module 1
Microsoft Access 007 Module http://pds.hccfl.edu/pds Microsoft Access 007: Module August 007 007 Hillsborough Community College - Professional Development and Web Services Hillsborough Community College
Access Queries (Office 2003)
Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy
SENDING E-MAILS WITH MAIL MERGE
SENDING E-MAILS WITH MAIL MERGE You can use Mail Merge for Word and Outlook to create a brochure or newsletter and send it by e- mail to your Outlook contact list or to another address list, created in
Lab 2: MS ACCESS Tables
Lab 2: MS ACCESS Tables Summary Introduction to Tables and How to Build a New Database Creating Tables in Datasheet View and Design View Working with Data on Sorting and Filtering 1. Introduction Creating
Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ
PharmaSUG 2014 PO10 Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ ABSTRACT As more and more organizations adapt to the SAS Enterprise Guide,
Opening a Database in Avery DesignPro 4.0 using ODBC
Opening a Database in Avery DesignPro 4.0 using ODBC What is ODBC? Why should you Open an External Database using ODBC? How to Open and Link a Database to a DesignPro 4.0 Project using ODBC Troubleshooting
Business Intelligence Tutorial: Introduction to the Data Warehouse Center
IBM DB2 Universal Database Business Intelligence Tutorial: Introduction to the Data Warehouse Center Version 8 IBM DB2 Universal Database Business Intelligence Tutorial: Introduction to the Data Warehouse
IRA Pivot Table Review and Using Analyze to Modify Reports. For help, email [email protected]
IRA Pivot Table Review and Using Analyze to Modify Reports 1 What is a Pivot Table? A pivot table takes rows of detailed data (such as the lines in a downloadable table) and summarizes them at a higher
THE HELLO WORLD PROJECT
Paper RIV-08 Yes! SAS ExcelXP WILL NOT Create a Microsoft Excel Graph; But SAS Users Can Command Microsoft Excel to Automatically Create Graphs From SAS ExcelXP Output William E Benjamin Jr, Owl Computer
2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.
Using the TestTrack ODBC Driver The read-only driver can be used to query project data using ODBC-compatible products such as Crystal Reports or Microsoft Access. You cannot enter data using the ODBC driver;
ABSTRACT INTRODUCTION FILE IMPORT WIZARD
SAS System Generates Code for You while Using Import/Export Procedure Anjan Matlapudi and J. Daniel Knapp Pharmacy Informatics, PerformRx, The Next Generation PBM, 200 Stevens Drive, Philadelphia, PA 19113
SPSS for Windows importing and exporting data
Guide 86 Version 3.0 SPSS for Windows importing and exporting data This document outlines the procedures to follow if you want to transfer data from a Windows application like Word 2002 (Office XP), Excel
for Sage 100 ERP Business Insights Overview Document
for Sage 100 ERP Business Insights Document 2012 Sage Software, Inc. All rights reserved. Sage Software, Sage Software logos, and the Sage Software product and service names mentioned herein are registered
Access to Relational Databases Using SAS. Frederick Pratter, Destiny Corp.
Paper TF-21 Access to Relational Databases Using SAS ABSTRACT Frederick Pratter, Destiny Corp. SAS software currently provides many of the features of a database management system, including database views
Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1
Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the SAI reports... 3 Running, Copying and Pasting reports... 4 Creating and linking a report... 5 Auto e-mailing reports...
Siemens Applied Automation Page 1 11/26/03 9:57 PM. Maxum ODBC 3.11
Siemens Applied Automation Page 1 Maxum ODBC 3.11 Table of Contents Installing the Polyhedra ODBC driver... 2 Using ODBC with the Maxum Database... 2 Microsoft Access 2000 Example... 2 Access Example (Prior
3 What s New in Excel 2007
3 What s New in Excel 2007 3.1 Overview of Excel 2007 Microsoft Office Excel 2007 is a spreadsheet program that enables you to enter, manipulate, calculate, and chart data. An Excel file is referred to
Business Intelligence Tutorial
IBM DB2 Universal Database Business Intelligence Tutorial Version 7 IBM DB2 Universal Database Business Intelligence Tutorial Version 7 Before using this information and the product it supports, be sure
Tommy B. Harrington 104 Azalea Drive Greenville, NC 27858 Email: [email protected]
M o s t U s e f u l E x c e l C o m m a n d s Tommy B. Harrington 104 Azalea Drive Greenville, NC 27858 Email: [email protected] Computer Training YOU Can Understand! Most Useful Excel Commands
Excel Reports User Guide
Excel Reports User Guide Copyright 2000-2006, E-Z Data, Inc. All Rights Reserved. No part of this documentation may be copied, reproduced, or translated in any form without the prior written consent of
AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL
Paper CC01 AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL Russ Lavery, Contractor for K&L Consulting Services, King of Prussia, U.S.A. ABSTRACT The primary purpose of this paper is to provide a generic DDE
KIP Certified AutoCAD Driver KIP TRACK ACCOUNTING SYSTEM
KIP Certified AutoCAD Driver KIP TRACK ACCOUNTING SYSTEM Contents Introduction... 2 System Requirements... 3 Installation... 3 Custom Name of the KIP Track fields... 6 KIP Track Rules... 6 Setup KIP Track
Suite. How to Use GrandMaster Suite. Exporting with ODBC
Suite How to Use GrandMaster Suite Exporting with ODBC This page intentionally left blank ODBC Export 3 Table of Contents: HOW TO USE GRANDMASTER SUITE - EXPORTING WITH ODBC...4 OVERVIEW...4 WHAT IS ODBC?...
XMailer Reference Guide
XMailer Reference Guide Version 7.00 Wizcon Systems SAS Information in this document is subject to change without notice. SyTech assumes no responsibility for any errors or omissions that may be in this
SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ
PharmaSUG 2012 Paper PO11 SAS UNIX-Space Analyzer A handy tool for UNIX SAS Administrators Airaha Chelvakkanthan Manickam, Cognizant Technology Solutions, Teaneck, NJ ABSTRACT: In the fast growing area
Timeless Time and Expense Version 3.0. Copyright 1997-2009 MAG Softwrx, Inc.
Timeless Time and Expense Version 3.0 Timeless Time and Expense All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including
Microsoft Access Basics
Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision
PrintShop Mail Database Fundamentals Guide
Database Fundamentals Guide Database Fundamentals... 2 Basic Data Setup... 2 Creating a Database... 2 Usable File Formats... 3 What is Exporting?... 3 File Not readable... 3 Export Instructions... 4 Access...............................................
