Desktop productivity for business analysts and programmers

Previously defined titles in other Proc Freq 's

Reply
N/A
Posts: 0

Previously defined titles in other Proc Freq 's

Hi. For some of my Proc Freqs, I am defining the titles. Unfortunately, in the ones where I do not define the title (quick and dirty Proc Freqs), the previous title is used which is pretty much always not correct. Is there a way of preventing this, apart from defining the title for every Proc Freq that I use?
N/A
Posts: 0

Re: Previously defined titles in other Proc Freq 's

Posted in reply to deleted_user
rather than always clearing the title, perhaps you could reset the title after use.
Which becomes more convenient depends on how much you want to FREQ without title.

PeterC
N/A
Posts: 0

Re: Previously defined titles in other Proc Freq 's

Posted in reply to deleted_user
That would be great but I am struggling to get this to work - keep getting "ERROR 180-322: Statement is not valid or it is used out of proper order", no matter where I put the goptions statement (I am assuming this is the statement to use for resetting the title).

What is the format of this?

goptions reset=title;
Proc Freq Data = A;
Tables Var /missing;
Run;
N/A
Posts: 0

Re: Previously defined titles in other Proc Freq 's

Posted in reply to deleted_user
sorry, perhaps I should have said..[pre] title ; [/pre]
performs the reset of all titles.
To reset just title3 and higher title numbers.... [pre]
title3 ; [/pre]
N/A
Posts: 0

Re: Previously defined titles in other Proc Freq 's

Posted in reply to deleted_user
That is perfect, thanks very much !
Ask a Question
Discussion stats
  • 4 replies
  • 110 views
  • 0 likes
  • 1 in conversation