Prev: any unix sas users here, help with filesystem quota over limit
Next: A series of ANCOVA vs. MANCOVA
From: Kenneth M. Lin on 15 May 2010 19:29 Let's just say I have a variable x in dataset work.y and I want to dump its label into a text variable xl. Is is possible? I suppose I could do PROC CONTENTS, dump the output, then merge it back but surely there's an easier way. The problem is that someone had PROC TRANSPOSED
From: data _null_; on 15 May 2010 20:35 On May 15, 6:29 pm, "Kenneth M. Lin" <kenneth_m_...(a)sbcglobal.net> wrote: > Let's just say I have a variable x in dataset work.y and I want to dump its > label into a text variable xl. Is is possible? I suppose I could do PROC > CONTENTS, dump the output, then merge it back but surely there's an easier > way. > You can use VLABEL or VLABELX functions. I don't understand the last statement. > The problem is that someone had PROC TRANSPOSED
From: Arthur Tabachneck on 15 May 2010 20:36 Ken, Three methods are described in the following paper: www.nesug.org/Proceedings/nesug97/begtut/pierchal.pdf HTH, Art ------------- On May 15, 7:29 pm, "Kenneth M. Lin" <kenneth_m_...(a)sbcglobal.net> wrote: > Let's just say I have a variable x in dataset work.y and I want to dump its > label into a text variable xl. Is is possible? I suppose I could do PROC > CONTENTS, dump the output, then merge it back but surely there's an easier > way. > > The problem is that someone had PROC TRANSPOSED
From: Kenneth M. Lin on 16 May 2010 03:05 "data _null_;" <datanull(a)gmail.com> wrote in message news:d00235ad-3102-46a8-9ce6-19416d5dc3b6(a)r21g2000prr.googlegroups.com... > On May 15, 6:29 pm, "Kenneth M. Lin" <kenneth_m_...(a)sbcglobal.net> > wrote: >> Let's just say I have a variable x in dataset work.y and I want to dump >> its >> label into a text variable xl. Is is possible? I suppose I could do >> PROC >> CONTENTS, dump the output, then merge it back but surely there's an >> easier >> way. >> > > You can use VLABEL or VLABELX functions. > > I don't understand the last statement. >> The problem is that someone had PROC TRANSPOSED Sorry I wasn't clear. Someone had transposed the data so that although in the original dataset there was a name of the person and a dollar amount, the new dataset has the person's name as the label for the dollar amount and each dollar amount is now an unique variable.
|
Pages: 1 Prev: any unix sas users here, help with filesystem quota over limit Next: A series of ANCOVA vs. MANCOVA |