permanent formats and working a cross platforms n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Permanent Formats and Working A cross Platforms PowerPoint Presentation
Download Presentation
Permanent Formats and Working A cross Platforms

Loading in 2 Seconds...

play fullscreen
1 / 8

Permanent Formats and Working A cross Platforms - PowerPoint PPT Presentation


  • 131 Views
  • Uploaded on

Permanent Formats and Working A cross Platforms. 32bit vs. 64 bit SAS. The different versions of SAS optimize datasets and formats to work as fast as possible. You can open a 32 bit SAS dataset with a 64 bit version of SAS but it is slower than necessary.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Permanent Formats and Working A cross Platforms' - Audrey


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
32bit vs 64 bit sas
32bit vs. 64 bit SAS
  • The different versions of SAS optimize datasets and formats to work as fast as possible. You can open a 32 bit SAS dataset with a 64 bit version of SAS but it is slower than necessary.
  • Formats saved in permanent libraries (as catalogs) may have problems opening on different platforms/operating systems.
formats saved in libraries
Formats Saved in Libraries

* x "mkdir C:\Projects\hrp223\cportExample";

libnamecportex"c:\projects\hrp223\cportexample";

procformatlibrary = cportEx;

valueisMale

0 = "Female"

1 = "Male"

. = "Missing"

other = "** bad **"

;

run;

Save the format here instead of in work. SAS is pushing this idea.

where to find formats
Where to Find Formats
  • SAS and EG look for formats in the work library. You can tell it to look in other libraries with a line like this:

optionsfmtsearch = (cportEx work);

Your library name goes here.

sharing files
Sharing Files
  • If everyone on your team uses the same version of SAS you can send datasets and catalogs via encrypted email. Send both the files in the library and teach the recipient about optionsfmtsearch.

datacportEx.stuff;

format sex isMale.;

input ID age sex;

datalines;

1 83 1

2 82 0

;

run;

p roc cport
proccport
  • If you need to share datasets and formats across platforms (including 32 vs 64 bit Windows SAS), store the library in cport file and send that (via encrypted email).

proccport

library = cportEx

file="C:\Projects\hrp223\cportExample\example.cport"

memtype = all;

run;

Send this one.

proc cimport
proccimport
  • Use proccimport on the other machine:

libnamecportEx"C:\Projects\hrp223\cportExample";

optionsfmtsearch = (cportEx work);

proccimport library = cportEx

file= "C:\Projects\hrp223\cportExample\example.cport" ;

run;

no formats
No Formats…
  • If somebody forgets to send you the formats you can include this line and the data will display unformatted without errors:

optionsnofmterr;