Date: Fri, 10 Dec 1999 16:20:08 GMT0BST
Reply-To: Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Subject: How to modify Format/informat
I have written a few simple if/then statements to create a character
variable or alter some of its values. Whilst these SAS statements
go smoothly thru, I have noticed that SAS does not produce the
WHOLE text in the output as I would anticipate.
for instance: if x=1 then y="TOTAL ONLY, NO SUBSCALES"" ;
To see the value of Y, i use proc freq and see only "TOTAL ON"
and unfortunately that is it. I am wondering if there is a way to get
around this problem and if so, what should I do?
A relevant point is what can be seen from the output of PROC
CONTENTS. There, i noticed that some numerical and character
variables do not have neither FORMAT nor INFORMAT and i want
to create them. Likewise, i would also like to modify the FORMAT
and INFORMAT of few existing variables. I wonder what i need to
do in order to make these changes happen.
I would be grateful to you all if I would receive any advice and
comments on what to do in order to proceed.
Thank you very much indeed for taking time to consider my
request. I look forward to hearing from you.