LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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

Dear All,

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.

Yours sincerely Panos.


Back to: Top of message | Previous page | Main SAS-L page