BookmarkSubscribeRSS Feed

[Proc Datasets] 전체 변수의 레이블(Label)과 출력형식(Format) 제거 하기

Started ‎06-15-2020 by
Modified ‎06-15-2020 by
Views 289

* 변수 속성 리스트에서 레이블 항목을 확인.;

PROC DATASETS LIB = SASHELP MEMTYPE = DATA;

     CONTENTS DATA= SASHELP.CLASS;

QUIT;

 

* 단일변수의 레이블 제거;

DATA CLASS;

 SET SASHELP.CLASS;

     LABEL NAME = ' ';

RUN;

 

* 전체 변수의 레이블과 출력형식(FORMAT) 제거;

* 변수 속성 리스트에서 레이블 항목이 삭제됨.;

PROC DATASETS LIB = WORK MEMTYPE = DATA;

     MODIFY CLASS;

       ATTRIB _ALL_ LABEL = ' ';

       ATTRIB _ALL_ FORMAT=;

     CONTENTS DATA=WORK.CLASS;

QUIT;

Version history
Last update:
‎06-15-2020 01:10 AM
Updated by:
Contributors

sas-innovate-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

Article Labels
Article Tags