cancel
Showing results for 
Search instead for 
Did you mean: 

Hide proc cas results

SOLVED
AnjaliNair
Calcite | Level 5
Solved!

Hide proc cas results

Message contains an image

Hi all,

 

We are here creating a visualization that at first page loads a CSV file using SAS Job Execution and classifies that data using SAS Model Studio Text Analytics code. The below part of code is used for the same:

 

 

proc cas;
session sascas;
loadactionset "textRuleScore";

action applyConcept

model={..}
table={..}
docId=
text=
casOut=
factOut=
;
run;

 

 

This creates an output similar to the below.

CasOuput.png

 

I dont want this to be visible in my visualization.

 

So is there any way to hide CAS output results, like the option --> "noprint" is used in proc statements to hide the results.

 

Thanks & Regards,

Anjali Nair

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
Solution

Re: Hide proc cas results

Use

 

ods html select none;

before the PROC, and if you want additional outputs from later steps in the program, use

 

ods html select all;

after the PROC

--
Paige Miller

View solution in original post

3 REPLIES 3
PaigeMiller
Diamond | Level 26
Solution

Re: Hide proc cas results

Use

 

ods html select none;

before the PROC, and if you want additional outputs from later steps in the program, use

 

ods html select all;

after the PROC

--
Paige Miller
AnjaliNair
Calcite | Level 5

Re: Hide proc cas results

Hi Paige,

 

Thanks Smiley Happy

 

That just worked the way I was expecting.

 

Just that it was a Job Execution output I used the following :

 

ods select none;

 

joeFurbee
Community Manager

Re: Hide proc cas results

Moving the post to the Developers Community as the Coding on SAS Viya Community is being sunset.


Join us for SAS Community Trivia

SASBowl LVI, LLMs and SAS Coding
Wednesday, November 19, 2025 at 10 am ET.