forked from caojiguo/FDAworkshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata6.0.sas
More file actions
35 lines (28 loc) · 683 Bytes
/
data6.0.sas
File metadata and controls
35 lines (28 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
libname sdtm "C:\review2\sdtm";
ods output variables=variables;
proc contents data=sdtm.dv;
run;
/*
DVSPID, DVTERM, DVDECOD, DVCAT, DVSCAT, DVSTDTC, DVENDTC and EPOCH.
*/
data fda;
length variable $8.;
variable='DVSPID'; output;
variable='DVTERM'; output;
variable='DVDECOD'; output;
variable='DVCAT'; output;
variable='DVSCAT'; output;
variable='DVSTDTC'; output;
variable='DVENDTC'; output;
variable='EPOCH'; output;
run;
proc sort data=variables; by variable;
proc sort data=fda; by variable;
data abc(keep=variable);
merge variables(in=a) fda(in=b);
by variable;
if b and not a;
run;
proc print data=abc;
title1 "List of FDA required variables not available in DV";
run;