SAS Web Tools for Mac OS



As of July 2001, it appears that these tools are no longer available for download from the SAS website. (At least I can no longer find the download page, and the instructions say that the tools are now shipped on the SAS CD). However, the tools are clearly not on my SAS 6.12 TS051 CD which, I believe, is the most recent Mac OS version. The main web page for these tools is now in a new location. I have replaced some broken links but otherwise left the instructions below as they were.



SAS has recently released some experimental Web Publishing Tools, which are available for download from their web site. There is now a Macintosh version of these web publishing tools, but the installation instructions are somewhat peculiar.


The Tools

The Web Technologies page discusses what is available. For the Mac user, here's what the picture looks like:


Installing the HTML Formatting Tools

The official installation instructions, available on the web from SAS, are somewhat confusing. They leave you with the HTML Formatting Tools installed in a folder stored on your desktop. This is a pathological place to store the tools, particularly on a Macintosh. SAS defends their instructions as allowing installation of the tools for users who do not have write access to the SASROOT folder. These instructions assume you can write to the folder containing SAS; if you cannot, you will need to briefly enlist the aid of your system administrator to drop some files in the proper folders.

If you check the official contents list, will see that the package consists of a number of autocall macros, a pair of CPORT transport files, and a program called which converts the CPORT files into Mac OS format SAS catalogs.


The README.TXT file contains SAS's installation instructions, but as indicated above these are less than ideal. What follows are the simple version of the instructions. When you download the tools, you will have the file htmlfmt.sea, which you can double-click to expand into a folder called htmlfmt Folder.

Begin by dragging this folder to your desktop and opening it. With the folder on your desktop, you should be able to use SAS to open and run the file; this will convert the CPORT files into Mac OS format catalogs, and should run without modification as long as the htmlfmt Folder is on your desktop.

After you have run, you can then quit SAS; all that remains is to put the tools in the appropriate place; the easiest way is to drag the files in the Finder. All files ending in .sas, EXCEPT, contain the macros. These need to be put in the folder autos inside the folder containing SAS (the SASROOT folder). These files are named,,,,,,,,, and

The two catalog files, htmlgen.sct01 and htmlnls.sct01, need to be put in the folder cat inside the folder containing SAS.

If you do not have write access to the folder containing SAS, you will need to ask your system administrator to put the autocall macros (.sas files) and catalogs (.sct01 files) in the appropriate subfolders.


That's It!

That's it. You're done—you can now invoke the macros for HTML formatting provided on the web site. The documentation is available via the site as well, either by connecting and reading the documentation online or by downloading the package of web documentation as an archive which can be unpacked and browsed locally. The CPORT files can be discarded, and the documentation files can be saved for reference.

I hope this helps; if any of the above procedure is unclear, email me and I'll see what I can do to clarify things. A caveat: I have very little experience actually using the formatting tools, so I'm not sure how to get the results you want. But I think this should at least help you get them up and running.

Note: these instructions originally focused on how to download the UNIX tools and convert them for use with Mac OS. Since SAS now offers a Mac download package, I decided to focus instead on the easier installation instructions.


Return to SAS for the Macintosh.