BookmarkSubscribeRSS Feed
texasmfp
Lapis Lazuli | Level 10

I inherited a program that generates several permanent SAS datasets.  All open in SAS System Viewer 9.1, except one file that has one variable with a custom format created by the program.  I can open it in EG, but I love love love SAS System Viewer 9.1.  Is there an easy solution so that I can open the file in my beloved Viewer?   (Yes, I know SAS no longer supports this software.  I believe it was Charlton Heston who said something about prying SAS System Viewer of of my cold dead hands :)).  Thanks

2 REPLIES 2
Astounding
PROC Star

A couple of choices ...

 

Before trying to view it, run this statement:

options nofmterr;

This will let you display the data set.  However, the formats defined in your custom format will not be available.  You will see unformatted values for variables that use that format.

 

Another possibility::  run PROC FORMAT (re-creating the format) before using the viewer.

 

A third possibility:  if your custom format has already been permanently saved, let SAS know where to find it.  Take a look at the FMTLIB option.  It's a little more difficult to implement, but it will let the viewer display the formatted values.

AllanBowe
Barite | Level 11

It's not exactly what you are asking for, but my team have released a free (for 5 users) browser based tool that has some quite advanced capabilities for viewing SAS datasets.

https://datacontroller.io

 

It can be deployed onto a desktop, just send a PM if you need help with the setup.

/Allan
MacroCore library for app developers
Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 859 views
  • 0 likes
  • 3 in conversation