【发布时间】:2015-09-24 19:10:48
【问题描述】:
我创建了如下格式
data formatset;
input fmtname $ start $ end $ label $;
datalines;
$test region1 region3 zone1
$test region4 region5 zone2
$test region6 region7 zone3
;
run;
proc format library = work.formats
cntlin = work.formatset;
run;
quit;
问题:我将获得带有变量region 的新数据线数据。我想要一个新属性zone,它使用$test.格式
data output;
input region $;
format zone $test.;
zone = region;
datalines;
region1
region2
region3
region4
region5
region6
region7
region8
;
run;
【问题讨论】:
标签: sas proc-format