Date: Mon, 18 Feb 2002 09:52:37 -0500
Reply-To: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject: Re: PASS AF Parm
On Mon, 18 Feb 2002 14:48:38 +0000, Graeme Kirton <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
not like that:
checkfile = symget("&checkfile");
> access = symget("&access");
> typeaccess = symgetn("&typeaccess");
but like that:
checkfile = symget("checkfile");
access = symget("access");
typeaccess = symgetn("typeaccess");
you have to omit the "&"s with symget!
|