Help using Base SAS procedures

Changing text output for proc univariate

Accepted Solution Solved
Reply
Contributor
Posts: 39
Accepted Solution

Changing text output for proc univariate

I have SAS 9.2, so odstitle is not an option. But I am trying to change the title in proc univariate. The standard output text is

"The Univariate Procedure

Variable:testvariable"

 

I want to change either the whole thing or just the top portion. Does anyone know how to do this? Basically in my code right now what I have tried is proc univariate with a title statement within, but that just puts a title on top and I want the specific words above changed.

 

proc univariate data=sashelp.class;

var age;

title "test title";

run;


Accepted Solutions
Solution
‎09-25-2015 06:23 AM
Super User
Posts: 17,868

Re: Changing text output for proc univariate

Removing the proc title and using a title statement will accomplish this.

ods noproctitle;
title 'Jacobs Summary';
proc univariate data=sashelp.class;
var age ;
run;

View solution in original post


All Replies
Super User
Posts: 10,516

Re: Changing text output for proc univariate

ODS NOPROCTITLE;

should turn off the procedure title.

 

Contributor
Posts: 39

Re: Changing text output for proc univariate

I want to replace the standard output text "The Univariate Procedure" with a custom text.

Solution
‎09-25-2015 06:23 AM
Super User
Posts: 17,868

Re: Changing text output for proc univariate

Removing the proc title and using a title statement will accomplish this.

ods noproctitle;
title 'Jacobs Summary';
proc univariate data=sashelp.class;
var age ;
run;
Contributor
Posts: 39

Re: Changing text output for proc univariate

Sorry it took a bit to get back to you, server had to update. Thanks a ton this worked.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 314 views
  • 0 likes
  • 3 in conversation