Posts Tagged ‘ METAOUT=Data ’

Making Libnames read/write in Enterprise Guide

Nov
13

If you ever try to create a dataset or any other write function to a Metadata based Libname, from within SAS Enterprise Guide you will have encountered the old “METAOUT=DATA” error message.

What this says is that due to the libname bing a metadata based libname you can’t write to it.

Well there is an easy way to fix this:

  1. In SAS Management console go to the properties of the desired libname
  2. Click on the extended attributes tab
  3. Create an new entry with the following values
    1. Name = AssignMode
    2. Value = 2
  4. Try it via EG now and Helens your auntie (but not your prime minister – apologies to non kiwis its a GIS joke!)

This lovely option is easily found here:

http://support.sas.com/kb/20/760.html

Other option values you can use are:

0 Assign using SAS Enterprise Guide
1 Assign using the META engine, METAOUT=ALL (default META engine behavior)
2 Assign using the META engine, METAOUT=DATA
3 Assigned by the SAS server (pre-assigned)
This info (and a raft of other cool Enterprise Guide stuff) can be found here:

http://support.sas.com/techsup/technote/ts788.pdf

Share
Posted by  
4 Comments