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

Again, this is from a SAS practice test:

 

class="rteindent1">
squash 1.10 class="rteindent1">

 

What does this class="rteindent1" mean in this context, ant what is the purpose of that ">"-sign at the end?

 

This class statement (along with "rteindent1" was repeated in every single line in the example, what's the meaning of this?

 

Kindly/Magnus 

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Where are you getting this from.  It looks very much like the source is corrupt, i.e. if you had copied something from a web page.  The class="rteindent1"> is from html: for example a quick search:

https://www.drupal.org/project/ckeditor/issues/921826

 

What your code and datafile should look like is:

Datafile;

John McCloskey 35 71
June Rosesette 10 43
Tineke Jones 9 37

Program:

data work.homework;
  infile 'file-specification';
  input name $ age height;
  if age LE 10;
run;

What you have is additional tag information where its been copied badly from a web page.

View solution in original post

4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

I have no idea, not seen that syntax in SAS code before.  Are you sure its not html/xml, they use angular brackets in tags.  If not please provide more context around your example, i.e. where you think you would see this. 

Syntas_error
Quartz | Level 8

Ught, came across another of them.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Where are you getting this from.  It looks very much like the source is corrupt, i.e. if you had copied something from a web page.  The class="rteindent1"> is from html: for example a quick search:

https://www.drupal.org/project/ckeditor/issues/921826

 

What your code and datafile should look like is:

Datafile;

John McCloskey 35 71
June Rosesette 10 43
Tineke Jones 9 37

Program:

data work.homework;
  infile 'file-specification';
  input name $ age height;
  if age LE 10;
run;

What you have is additional tag information where its been copied badly from a web page.

Syntas_error
Quartz | Level 8

Oh well, as long as I don't have to encounter this IRL. 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 4055 views
  • 0 likes
  • 2 in conversation