Tips for generating SAS® Customer Intelligence 360 and SAS® Marketing Automation metadata


This SAS KB article describes some tips for generating SAS Customer Intelligence 360 and SAS Marketing Automation metadata.

For example, an Account Number field contains unique values and causes the metadata process to select every value in the table. You must exclude all ID fields and columns with a lot of unique values from generating metadata.

Note: It is not possible to perform a select on Level=ID items, so there is no point generating metadata against them!

Check any calculated items in the Information Map. Sometimes, users create calculated data items with a SAS expression that is not translated to the database. As a result, too much data is moved to the SAS tier to perform the query, which slows down the whole process.

$ ./dm.sh gmd --bcName "My Business Context" --character SQL -maxconcurrent 2

or

$ ./dm.sh gmd --bcName "My Business Context" --numeric SQL -maxconcurrent 2 

– –method <method-name> is the query method for all tables. SQL or Summary are the values for <method-name> for the procedure to be used as query method. (For example, --method SQL.)

For more information, see PROC SQL and PROC SUMMARY.

Note: If the Information Map is not complex, but the underlying data is very large, generate the metadata by using the SAS SQL procedure (PROC SQL). In the PROC SQL method, an SQL query is streamed to the SAS procedure as XML, which then generates the counts for discrete variables.

 

Note: Look at the METADATA=Yes | Values | Counts custom property.

Ensure that DATE and DATETIME Database Columns are properly configured in the associated Data Item Field Expression Type (DATE=”Date”, DATETIME=”TimeStamp”). If these properties do not match, strange problems like Out Of Memory errors or zero counts in SAS Customer Intelligence 360 occur.

Complete the following steps to determine whether the properties match:

    1. Log on to SAS® Information Map Studio. 
    2. Browse to your target Information Map.
    3. Select the problem Date Item. 
    4. Click the item once. The Type is listed in the Expression Settings window.
    5. Click Edit… The Expression Editor window is displayed.
    6. Click the Validate Expression button and ensure that the expression is valid.