BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Mic35
Obsidian | Level 7

Hi,
Currently I train myself to do a great reporting (on SAS university) and after a few tries I having a problem.

I have uninstalled and re-installed Virtual box and sas several times, the problem persists.
Has anyone ever been confronted at this situation before? Do you have any problem-solving ideas?
Thank you very much.

 


I coded:

proc format cntlout=titles;
value $title
     "T_01_TITLE01 "= "^{style [just=C fontweight=bold] Title}"
     "T_01_FNOTE01 "='Class table '
     "T_01_ORDER " ='1'
     "T_01_ORIENT " ='L'
     "T_01_BMARK " ='T_01'
; 
run;

I get :

pict.png

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

@Mic35 wrote:

It's not a problem with my code, the only  that I used.
Just a proc format....
And at the begining I didn't have problem..  Why I get this error message NOW ?
Maybe uninstalling the virtual machine and SAS is not enough.

Is there a way to make sure that everything is really deleted?


So reading between the lines it sounds like you are using SAS/Studio to submit your code. Possibly using the free SAS University Edition.

First thing to try is to Re-start your SAS session. You can do that from the SAS/Studio GUI.

If the problem still exists then check your autoexec file for unbalanced quotes.

View solution in original post

5 REPLIES 5
ballardw
Super User

You need to show more code.

The issue is almost certainly not related to the format but somewhere you have either mismatched quotes around a value or a missing quote. Just like the message.

Show the entire data step code.

And instead of pasting pictures, copy from the log and paste the text into a code box opened on the forum with the </> icon.

That way we can show the actual change likely needed in the code. Pictures are hard to edit.

Mic35
Obsidian | Level 7

It's not a problem with my code, the only  that I used.
Just a proc format....
And at the begining I didn't have problem..  Why I get this error message NOW ?
Maybe uninstalling the virtual machine and SAS is not enough.

Is there a way to make sure that everything is really deleted?

Tom
Super User Tom
Super User

@Mic35 wrote:

It's not a problem with my code, the only  that I used.
Just a proc format....
And at the begining I didn't have problem..  Why I get this error message NOW ?
Maybe uninstalling the virtual machine and SAS is not enough.

Is there a way to make sure that everything is really deleted?


So reading between the lines it sounds like you are using SAS/Studio to submit your code. Possibly using the free SAS University Edition.

First thing to try is to Re-start your SAS session. You can do that from the SAS/Studio GUI.

If the problem still exists then check your autoexec file for unbalanced quotes.

Mic35
Obsidian | Level 7

The solution was effectively in the autoexec...
one of my macros is a the origin of the error.
I want to investigating what and why i had this message of error in this only step...
Thanks a lot to remind myself cheking this basic step... 🙂

ballardw
Super User

@Mic35 wrote:

It's not a problem with my code, the only  that I used.
Just a proc format....
And at the begining I didn't have problem..  Why I get this error message NOW ?
Maybe uninstalling the virtual machine and SAS is not enough.

Is there a way to make sure that everything is really deleted?


None of the code showing an error involves your format. You do not show a complete data step or procedure so it is very hard to tell the exact cause. That very specific and common error relates to some statement that has an incorrect quote. The format doesn't. And the error is not occurring the Proc format code as shown by your picture.

What do you mean "deleted"? Nothing you show would be related to deleting.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 833 views
  • 5 likes
  • 3 in conversation