|
|
 | | From: | Richard A. DeVenezia | | Subject: | TIP: List format data from SAS Explorer | | Date: | Sun, 23 Jan 2005 11:28:26 -0500 |
|
|
 | Version 9 instructions
Click in SAS Explorer. Menu: Tools/Options/Explorer Click Entries tab Select FORMATC type Click Edit Click Add
Action: &List Command: (all on one line) gsubmit 'data;run;proc format cntlout=&syslast(where=(find("%8b.%32b.%32b.",cats(".",fmtname,"."),"i")));r un;' ; vt &syslast
What does command do ?
* create a new automatically numbered dataset DATA{n}; data;run;
* save format data to DATA{n}, keeping only rows for format name clicked on; proc format
cntlout=&syslast(where=(find("%8b.%32b.%32b.",cats(".",fmtname,"."),"i"))); run;
* viewtable the data; vt &syslast
You should also define the action for catalog entry type FORMAT.
-- Richard A. DeVenezia http://www.devenezia.com/
|
|
|