Help using Base SAS procedures

Proc Print problem

Reply
N/A
Posts: 1

Proc Print problem

Hi Everyone.

When using Proc Print on a PD7 (packed decimal) Infile variable, it is abbreviating the printing of the column (using scientific notation) . I read in the manual that the default numeric width is 12, whereas I need 15 wide column. I tried WIDTH=FULL and it didn't help.
Is there a way to expand the width of a single Infile variable using Proc Print?

Thanks
Respected Advisor
Posts: 3,799

Re: Proc Print problem

I think all you need is a format for the variable. Maybe

[pre]format varname 15.;[/pre]

would suffice.
Ask a Question
Discussion stats
  • 1 reply
  • 107 views
  • 0 likes
  • 2 in conversation