What is MIME type "application/x-sas-mddb"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

application/x-sas-mddb is a MIME type tied to SAS's multi-dimensional database files. It stores large, complex data sets in a structure that speeds up analytical queries.
Files using this type are created by SAS software for high-performance data analysis. They organize data in dimensions, which makes it easier and faster to perform calculations across rows, columns, and layers.
Typical files include SAS7BMDB and SM7.
For more information on SAS database files and their analytical capabilities, please see the SAS website.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/x-sas-mddb    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/x-sas-mddb">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/x-sas-mddb');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the primary use of application/x-sas-mddb?

This MIME type is used to identify SAS Multi-Dimensional Database files. These files, often with the extension sas7bmdb, store data in a specialized cube structure that allows SAS software to perform rapid OLAP (Online Analytical Processing) queries and data slicing.

How do I configure Apache to serve SAS MDDB files correctly?

To ensure your Apache server sends the correct headers, add the MIME type definition to your .htaccess or configuration file. Use the directive: AddType application/x-sas-mddb .sas7bmdb .sm7.

Can I view application/x-sas-mddb files in a web browser?

No, web browsers like Chrome, Firefox, or Edge cannot natively render SAS database files. Because this is a proprietary binary format, the browser will prompt the user to download the file instead of displaying it.

What software is required to open files with this MIME type?

You need SAS software (specifically modules that handle OLAP or multidimensional databases) to read or edit these files. They are not compatible with generic spreadsheet tools like Excel or standard text editors.

Why does IIS return a 404 error when accessing a .sas7bmdb file?

IIS (Internet Information Services) often blocks file extensions it does not recognize for security reasons. To fix this, you must add a MIME Map in the IIS settings, associating the extension .sas7bmdb with the type application/x-sas-mddb.

Is application/x-sas-mddb a standard IANA MIME type?

No, the x- prefix indicates that it is a non-standard or vendor-specific subtype. It is defined specifically for SAS Institute's proprietary multi-dimensional database format and is not a universal internet standard.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.