BookmarkSubscribeRSS Feed
nadra
Calcite | Level 5
Hi,

I submit my a program in sas 9.2 to a server, in order to minimise time runing. this program contain a Glm procedure. I used the ods output to keep only some measures like this :
ODS output CLDiffs=Diff(keep = Comparison LowerCL Difference UpperCL Significance);
proc glm data=table;
class var1 var2;
model var3=var1 var2 / ss3;
MEANS var3 / lsd cldiff lines;
run;quit;
ods output close;


My problem is that "comparison" is forced to be written in an $5. format. This is a problem to me, because comparison contains more than 5 characters.


When I run my program on my computer, there is no problem comparison is not limited to 5 characters.


I wonder if someone can help me to know why this problem occurs !

thanks
thank Message was edited by: nadra
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi,
The table template for your output object is usually what controls the formats and labels of the output created by the ODS OUTPUT statement.

If you search on support.sas.com for examples of altering the table template for a STAT procedure you should find some examples that suit your purpose.

Cynthia
nadra
Calcite | Level 5
Thank you very much!

Thanks to your advice I have found the solution to the problem!

kind regards, Message was edited by: nadra

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 852 views
  • 0 likes
  • 2 in conversation