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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

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