Date: Mon, 18 Feb 2002 10:15:43 -0500
Reply-To: "Michael L. Davis" <michael@BASSETTCONSULTING.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Michael L. Davis" <michael@BASSETTCONSULTING.COM>
Subject: Re: PASS AF Parm
In-Reply-To: <80256B64.00515BCE.00@fil-notes01.filcs.com>
Content-Type: text/plain; charset="us-ascii"; format=flowed
Hello GK and other SAS-L Friends,
Perhaps line 10 s/b:
typeaccess = symgetn("typeaccess") ;
I believe that with your current coding, line 10 is resolving as:
typeaccess = symgetn("0") ;
which is probably not what you really wish.
HTH.
- Michael "Mad Doggy" Davis
At 02:48 PM 2/18/2002 +0000, gkirton@FILCS.COM wrote:
>I tried but still get errors, my code is at the bottom and SCL/DEBUG up-top.
>Ive tried so many variations now.......... Confused. Even access is blank!!!!
>
>Thanks GK
>
>INIT:
> checkfile = symget("&checkfile");
> access = symget("&access");
> typeaccess = symgetn("&typeaccess");
>
>/*********************************************/
>
>e access
>access=
>ERROR: Macro variable name 2 must start with a letter or underscore.
>Arguments passed to SYMGETN:
> 1 (Character Literal) = '2'
>Program returning prematurely at line 10
>AF Program: GETAD3.DEVELOPMENT.CHECK_BASE.SCL
>Halt at line 10 in GETAD3.DEVELOPMENT.CHECK_BASE.SCL
>Use command SET and JUMP to restart
>
>/********************************************/
>
>%Let checkfile = Testrun;
>%Let access = U;
>%let typeaccess = 2;
> proc display cat=getad3.development.check_base.SCL /*batch*/;
> run;
>____________________________________________________________________________________________________________
>
>Disclaimer
>
>This email may contain privileged/confidential information and/or copyright
>material. It is intended only for the use of the person(s) to whom it is
>addressed and any unauthorised use may be unlawful. If you receive this email
>by mistake, please advise the sender immediately by using the reply
>facility on
>your email software and delete the material from your computer.
>
>Opinions, conclusions and other information in this email that do not
>relate to
>the official business of this organisation shall be understood as neither
>given
>nor endorsed by it.
>
>If this message forms part of a quotation, the quotation is an invitation to
>treat only. No contract subsists until Filtronic Plc (or its subsidiary
>companies) accepts your order. Acceptance of your order is made subject
>to our
>standard Terms and Conditions.
>
>Website Address http://www.filtronic.com
Michael L. Davis
Vice President
Bassett Consulting Services, Inc.
10 Pleasant Drive
North Haven CT 06473-3712
E-Mail: michael@bassettconsulting.com
Web: http://www.bassettconsulting.com
Telephone: 203-562-0640
Facsimile: 203-498-1414
Messages: 888-477-1412