BookmarkSubscribeRSS Feed
richard_a
Calcite | Level 5
We have an existing database in SQL server, and we successfully created an ODBC connection to SAS v 9.

One of the tables have 2 long column names :
main_claim_process_unit_type_desc_en
main_claim_process_unit_type_desc_fr

SAS v9 concatenated these names and doing a PROC CONTENTS gave :
main_claim_process_unit_type_de0
main_claim_process_unit_type_des

When we converted to E.G., doing a PROC CONTENTS gave us the error :
ERROR: Variable main_claim_process_unit_type_de0 is not on file PRDDMWDW.vwdw_claim_dim.

Does anybody have the same experience ? Is this a bug in E.G. ?
1 REPLY 1
richard_a
Calcite | Level 5
i just found out that :

EG uses OPTIONS VALIDVARNAME=ANY; by default
SAS uses options validvarname=v7; by default

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 800 views
  • 0 likes
  • 1 in conversation