BookmarkSubscribeRSS Feed
BigZ
Calcite | Level 5
Hi
I have a problem where I need to read in excel file in to EG. This file excel file has names of organizations and some of names have apostrophe (').
Ex. Kids' Organization Inc.
So I get following warning
WARNING: The quoted string currently being processed has become more than 262 characters long. You may have unbalanced quotation marks.

Any suggestions how I might avoid this problem.
6 REPLIES 6
Doc_Duke
Rhodochrosite | Level 12
What version of EGuide and SAS? The method of reading Excel changed from 4.1 to 4.2. Also, are you working with the Excel file in place or converting it to a SAS dataset; those choices also affect how the file is read.
BigZ
Calcite | Level 5
My EG is version 4.2, and the SAS version is 9.2

And concerning the reading in the file. I am attempting to make the excel file in to a SAS dataset. That way I can use it whenever I need it.
Doc_Duke
Rhodochrosite | Level 12
I used
Open --> data
pointed to the spreadsheet, and it imported fine (using 4.2 and 9.2 TS2M2).

You may need to open a track with tech support.
deleted_user
Not applicable
Hi Bigz,
Can you try ...tools - options - sas programs

Under additional SAS code -- check insert custom SAS code before submitting code and click edit.

Add the following line
options validvarname=v7;


then try to read excel file in EG. lemme know how it goes.
RichardH_sas
SAS Employee
I believe in version 4.2, on the last screen of the wizard there are a couple options about removing problem characters or putting the values into the code itself. You might try one or both of those to see if it resolves the problem. Maybe not... but that's the best I've got right now. 🙂
Patrick
Opal | Level 21
Try in step 2 of the import wizard "Rename columns to comply with SAS naming conventions". That should resolve the issue.

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
  • 6 replies
  • 2851 views
  • 0 likes
  • 5 in conversation