From: Kishore Kumar Kandikatla, HCL-Industry on
Its working fine on my machine, please check your sas/stat licence.

Regards,
Kishore.K
kishorekumark(a)hcl.in


-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of
Adam
Sent: Sunday, January 21, 2007 10:12 PM
To: SAS-L(a)LISTSERV.UGA.EDU
Subject: "Procedure REG not found"?

Hello my always-helpful friends,

I don't use SAS all that much and it's been probably more than a year
since I tried anything too serious. I'm just sitting down this morning
to get back into the swing of things, and I thought I started with a
straightforward, no-brainer problem, and apparently it's trickier than
I thought, or I'm not understanding something on the software end. I
borrowed a data set from the Massachusetts Institue of Technology open
courseware econometrics class (involving CEO pay and factors that
contribute to its determination), successfully read the data (proc
print has everything coming up where it is supposed to), but when I go
to do a simple linear regression model, I get an error in the log that
says "Procedure REG not found."

Here is the code (with the cards truncated for brevity). If anyone
would be so kind as to explain what it is that I'm doing wrong, I would
greatly appreciate it!! Thank you all, and without further ado:

DATA execpay;
INPUT salary age college grad comten ceoten sales profits mktval;
cards;
1161 49 1 1 9 2 6200 966 23200
600 43 1 1 10 10 283 48 1100
379 51 1 1 9 3 169 40 1100
651 55 1 0 22 22 1100 -54 1000
497 44 1 1 8 6 351 28 387
1067 64 1 1 7 7 19000 614 3900
945 59 1 0 35 10 536 24 623
1261 63 1 1 32 8 4800 191 2100
503 47 1 1 4 4 610 7 454
1094 64 1 1 39 5 2900 230 3900
601 54 1 1 26 7 1200 34 533
;
PROC PRINT DATA = execpay;
TITLE 'Executive Pay Data';
RUN;

PROC REG data = execpay;
MODEL salary = sales;
TITLE 'Sales as a predictor of salary';
RUN;

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
From: Jonas Bilenas on
To check if you have STAT licence, run:

PROC SETINIT;
RUN:

The above will tell you all the SAS modules you have and when they expire.

Jonas Bilenas
JP MORGAN CHASE

On Wed, 24 Jan 2007 18:54:57 +0530, Kishore Kumar Kandikatla, HCL-Industry
Solutions <kishorekumark(a)HCL.IN> wrote:

>Its working fine on my machine, please check your sas/stat licence.
>
>Regards,
>Kishore.K
>kishorekumark(a)hcl.in
>
>
>-----Original Message-----
>From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of
>Adam
>Sent: Sunday, January 21, 2007 10:12 PM
>To: SAS-L(a)LISTSERV.UGA.EDU
>Subject: "Procedure REG not found"?
>
>Hello my always-helpful friends,
>
>I don't use SAS all that much and it's been probably more than a year
>since I tried anything too serious. I'm just sitting down this morning
>to get back into the swing of things, and I thought I started with a
>straightforward, no-brainer problem, and apparently it's trickier than
>I thought, or I'm not understanding something on the software end. I
>borrowed a data set from the Massachusetts Institue of Technology open
>courseware econometrics class (involving CEO pay and factors that
>contribute to its determination), successfully read the data (proc
>print has everything coming up where it is supposed to), but when I go
>to do a simple linear regression model, I get an error in the log that
>says "Procedure REG not found."
>
>Here is the code (with the cards truncated for brevity). If anyone
>would be so kind as to explain what it is that I'm doing wrong, I would
>greatly appreciate it!! Thank you all, and without further ado:
>
>DATA execpay;
>INPUT salary age college grad comten ceoten sales profits mktval;
>cards;
>1161 49 1 1 9 2 6200 966 23200
>600 43 1 1 10 10 283 48 1100
>379 51 1 1 9 3 169 40 1100
>651 55 1 0 22 22 1100 -54 1000
>497 44 1 1 8 6 351 28 387
>1067 64 1 1 7 7 19000 614 3900
>945 59 1 0 35 10 536 24 623
>1261 63 1 1 32 8 4800 191 2100
>503 47 1 1 4 4 610 7 454
>1094 64 1 1 39 5 2900 230 3900
>601 54 1 1 26 7 1200 34 533
>;
>PROC PRINT DATA = execpay;
>TITLE 'Executive Pay Data';
>RUN;
>
>PROC REG data = execpay;
>MODEL salary = sales;
>TITLE 'Sales as a predictor of salary';
>RUN;
>
>DISCLAIMER:
>---------------------------------------------------------------------------
--------------------------------------------
>
>The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
>It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
>this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates.
>Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
>this message without the prior written consent of the author of this e-
mail is strictly prohibited. If you have
>received this email in error please delete it and notify the sender
immediately. Before opening any mail and
>attachments please check them for viruses and defect.
>
>---------------------------------------------------------------------------
--------------------------------------------
From: David L Cassell on
jonas.bilenas(a)CHASE.COM replied:
> >-----Original Message-----
> >From: SAS(r) Discussion [mailto:SAS-L(a)LISTSERV.UGA.EDU] On Behalf Of
> >Adam
> >Sent: Sunday, January 21, 2007 10:12 PM
> >To: SAS-L(a)LISTSERV.UGA.EDU
> >Subject: "Procedure REG not found"?
> >
> >Hello my always-helpful friends,
> >
> >I don't use SAS all that much and it's been probably more than a year
> >since I tried anything too serious. I'm just sitting down this morning
> >to get back into the swing of things, and I thought I started with a
> >straightforward, no-brainer problem, and apparently it's trickier than
> >I thought, or I'm not understanding something on the software end. I
> >borrowed a data set from the Massachusetts Institue of Technology open
> >courseware econometrics class (involving CEO pay and factors that
> >contribute to its determination), successfully read the data (proc
> >print has everything coming up where it is supposed to), but when I go
> >to do a simple linear regression model, I get an error in the log that
> >says "Procedure REG not found."
> >
> >Here is the code (with the cards truncated for brevity). If anyone
> >would be so kind as to explain what it is that I'm doing wrong, I would
> >greatly appreciate it!! Thank you all, and without further ado:
> >
> >DATA execpay;
> >INPUT salary age college grad comten ceoten sales profits mktval;
> >cards;
> >1161 49 1 1 9 2 6200 966 23200
> >600 43 1 1 10 10 283 48 1100
> >379 51 1 1 9 3 169 40 1100
> >651 55 1 0 22 22 1100 -54 1000
> >497 44 1 1 8 6 351 28 387
> >1067 64 1 1 7 7 19000 614 3900
> >945 59 1 0 35 10 536 24 623
> >1261 63 1 1 32 8 4800 191 2100
> >503 47 1 1 4 4 610 7 454
> >1094 64 1 1 39 5 2900 230 3900
> >601 54 1 1 26 7 1200 34 533
> >;
> >PROC PRINT DATA = execpay;
> >TITLE 'Executive Pay Data';
> >RUN;
> >
> >PROC REG data = execpay;
> >MODEL salary = sales;
> >TITLE 'Sales as a predictor of salary';
> >RUN;

>
>To check if you have STAT licence, run:
>
>PROC SETINIT;
>RUN:
>
>The above will tell you all the SAS modules you have and when they expire.
>
>Jonas Bilenas
>JP MORGAN CHASE

The PROC SETINIT part will tell you what SAS modules your company
has licensed. It will not always tell you what is on *your* machine.
If your sysadmins have not installed all the SAS modules, you may still
be stuck. (I see this more commonly on modules less used than
SAS/STAT: like SAS/OR, SAS/QC, SAS/IML, SAS maps, ...)

HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330

_________________________________________________________________
FREE online classifieds from Windows Live Expo � buy and sell with people
you know
http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06