Date: Thu, 22 Jun 2006 10:14:47 -0400
Reply-To: Venky Chakravarthy <swovcc@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Venky Chakravarthy <swovcc@HOTMAIL.COM>
Subject: Re: why is this warning(error) ??????????
It is listed below the GLOBAL statements. That is different from saying
that it is a GLOBAL statement. The true GLOBALES are brought up by clicking
that GLOBAL STATEMENTS link.
It doesn't make any sense that LABEL and FORMAT can be characterized as
GLOBAL. They cannot independently exist like LIBNAME, FILENAME etc. They
are DECLARATIVE statements inside a data step or a proc.
On Thu, 22 Jun 2006 13:11:17 +0000, toby dunn <tobydunn@HOTMAIL.COM> wrote:
>Go to the online docs, do a search for global statement. click on the
>hit shold be "SAS(R) 9.1.3 Language Reference: Dictionary, Fifth Edition:
>Statements" and you will see all of the global statements. In that list
>both format and label are there.
>From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
>Reply-To: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
>Subject: Re: why is this warning(error) ??????????
>Date: Wed, 21 Jun 2006 22:27:01 -0400
>On Tue, 20 Jun 2006 23:46:02 -0400, SAS_learner <proccontents@GMAIL.COM>
> >Guys I am using SAS 8.2 version on windows xp platform , I am trying to
> >something like this and I getting this warning in the Log can some body
> >explain me why and how to solve it
> > proc sql ;
> >36 create table test
> >37 (customer char(4) ,
> >38 item char(10) ,
> >39 units num,
> >40 unitcost num(8,2));
> >NOTE: Table WORK.TEST created, with 0 rows and 4 columns.
> >41 label customer = 'Customer number '
> >WARNING: This SAS global statement is not supported in PROC SQL. It has
>The what's and why's and workarounds have been covered.
>I'm just surprised at the characterization of LABEL and FORMAT as *global
>statements*, because they aren't, under my understanding of the term. They
>have to be used within steps which support them.
> >42 item = 'Item purchased '
> >43 units = '# Units purchased '
> >44 unitcost = 'Unit cost'
> >45 format unitcost dollar12.2;
> >46 quit;