[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sas-l
Subject:    Re: SAS code works on laptop but not on workstation
From:       Sigurd Hermansen <HERMANS1 () WESTAT ! COM>
Date:       2008-04-30 22:30:15
Message-ID: CA8F89971ADA9F47A6C915BA2397844207B4271D () MAILBE2 ! westat ! com
[Download RAW message or body]

Cristian:
One nagging error message that I have not had time until now to diagnose
does go away when I replace the IMS PRINT statement in VALID with

PRINT "INVALID REGION: Skew= &S  Kurt= &a4";

The negative numbers outside quotes generate a "symbol not recognized"
error.

The remaining error messages have to do with invalid arguments to the
BETA() function: e.g.,

MPRINT(FINDLAMBDA):   DO;
MPRINT(FINDLAMBDA):   Lambda={.007, .007};
MPRINT(FINDLAMBDA):   RUN Moments ;
MPRINT(FINDLAMBDA):   RUN Valid ;
MPRINT(FINDLAMBDA):   RUN NEWTON;
MPRINT(FINDLAMBDA):   RUN NEGATIVE;
MPRINT(FINDLAMBDA):   PRINT "MOMENTS" ;
MPRINT(FINDLAMBDA):   PRINT MEAN VAR SKEW KURT ;
MPRINT(FINDLAMBDA):   PRINT "Estimates of Lambdas 1 to 4." ;
MPRINT(FINDLAMBDA):   PRINT L1 L2 L3 L4 ;
MPRINT(FINDLAMBDA):   CREATE Work.Lambdas var{MEAN VAR SKEW KURT L1 L2
L3 L4};
MPRINT(FINDLAMBDA):   APPEND;
MPRINT(FINDLAMBDA):   CLOSE Work.Lambdas ;
MPRINT(FINDLAMBDA):   END ;
ERROR: (execution) Invalid argument to function.

 operation : BETA at line 60651 column 185
 operands  : _TEM1021, _TEM1023

_TEM1021      1 row       1 col     (numeric)

 0.7490489

_TEM1023      1 row       1 col     (numeric)

 -0.117698

 statement : ASSIGN at line 60651 column 103
 traceback : module FUN at line 60651 column 103
             module NEWTON at line 60648 column 137

S

-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of P. Cristian Gugiu
Sent: Wednesday, April 30, 2008 11:19 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: SAS code works on laptop but not on workstation


I've become convinced that this is a SAS/Vista issue. So, I contacted
SAS tech and discussed the issue. They said someone will get back to me
in 24 hours. I'll let you all know if they are able to resolve the
problem. Thank you for all the help many of you have lent me.

Cristian
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic