Posts Tagged ‘ format ’

Create a SAS dataset from FORMAT library

January 20, 2011
By

libname fmts "/temp/formats";proc format library=fmts cntlout=fmts.fmtout;run;
Read more »

Tags:
Posted in SAS | Comments Off

P Value Format

December 10, 2010
By

PVALUEw.d
Read more »

Tags:
Posted in SAS | Comments Off

Create format from dataset

October 28, 2010
By

data fmt(keep=fmtname start label);      set temp;      fmtname="TRTFMT";      start=trtgrp;      label=trtlbl;run;proc format library=work cntlin=fmt;run;=================TEMP:trtgrp      trt...
Read more »

Tags:
Posted in SAS | Comments Off

Leading Zeroes

September 16, 2010
By

Here's a situation that comes up pretty often. You receive a file that contains zip codes. It's an excel file and you need to create a SAS data set out of it, so you can do some nifty market analysis. No problem, you clickety clickety through the SA...
Read more »

Tags: , ,
Posted in SAS | Comments Off

Delete single format from library

August 27, 2010
By

proc catalog catalog=library.formats;        delete yn.format dnk.formatc;quit;*** yn is numeric format, dnk is character format;
Read more »

Tags: ,
Posted in SAS | Comments Off

Macros for Standard Date/Time Processing

August 19, 2010
By

SAS Macro to process date/time
Read more »

Tags: , ,
Posted in SAS | Comments Off

ISO 8601 Date Time Format

August 19, 2010
By

ISO 8601What's new is BASE SAS 9.2
Read more »

Tags: ,
Posted in SAS | Comments Off

%d: a handy little macro for dynamic dating

July 8, 2009
By

for a little over a year now, i’ve been enjoying a little macro i wrote for writing date values in a variety of formats. the macro also integrates the intnx function (hence the ‘dynamic’ part). this allows me to easily use dynamic dates in both o...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.