17create table work.example(
18 TX_FROM
float format=datetime19.,
21 DD_SHORTDESC
char(256),
22 constraint pk primary key(tx_from, dd_type,dd_source),
23 constraint nnn not
null(DD_SHORTDESC)
25%mp_makedata(work.example,obs=500)
28 iftrue=(
"%mf_nobs(work.example)"=
"500"),
29 desc=Check that 500 rows were created,
30 outds=work.test_results
35 call symputx('lenvar',length(dd_source));
39 iftrue=("&lenvar"="2048"),
40 desc=Check that entire length of variable is populated,
41 outds=work.test_results
46create table work.example2(
47 TX_FROM
float format=datetime19.,
50 DD_SHORTDESC
char(256),
53%mp_makedata(work.example2)
57 desc=Ensure tables without keys still generate,
58 outds=work.test_results