LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (October 2005, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 19 Oct 2005 08:10:24 -0400
Reply-To:     "Srna, Carol (C.)" <csrna@FORD.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Srna, Carol (C.)" <csrna@FORD.COM>
Subject:      Re: SAS Error 391
Comments: To: RolandRB <rolandberry@HOTMAIL.COM>
Content-Type: text/plain; charset="us-ascii"

My error. Thank You.

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of RolandRB Sent: Wednesday, October 19, 2005 8:05 AM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: SAS Error 391

"Srna, Carol (C.)" wrote: > Hi All. > I received the following error message for this LENGTH statement: > > ----+----1----+----2----+----3----+----4----+----5----+---- > 2 INFILE MCDS MISSOVER; =20 > 3 LENGTH MIGFLAG $CHAR1.; =20 > + _______ =20 > + _______ =20 > + _______ =20 > 391 200 =20 > + 391 200 =20 > + 391 200 =20 > ERROR 391-185: Expecting a variable length specification.=20

It should be:

LENGTH MIGFLAG $ 1;

You should not use a "length" statement to assign a format. The "format" statement is used for that purpose.


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