Date: Mon, 20 Jul 1998 23:52:24 -0500
Reply-To: Rob Rohrbough <rob@ROHRBOUGH-SYSTEMS.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Rob Rohrbough <rob@ROHRBOUGH-SYSTEMS.COM>
Organization: Rohrbough Systems Design, Inc.
Subject: Re: Long list of SAS names
Content-Type: multipart/mixed;
Did not keep the original message. However, this may suit Jennie
Sauer's posting. I may have missed something, but here it is for what
it's worth, and you don't have to wait for V7:
>The person was trying to create a "longish" macro variable with a list of SAS (variable?) names. When SAS got part way throught the list it stopped without warning.<
This sounds to me like you are running into the limit on the number of
characters that can be stored in a macro variable - I believe the
default limit is 200 chars. For applications where I need a macro
variable over the limit, I quite often define a macro instead, which has
no length limit. There may be some restrictions on how you can use it,
but I have had a great deal of success defining this type of macro
dynamically and using it in place of a macro variable in subsequent
code. Have found such a macro fairly easy to define from an AF/Frame
entry using an iterative SUBMIT...ENDSUBMIT block in SCL. Have also
used macros without SCL, just simply to define a long list of variable
names for definitions, KEEP lists, etc.
HTH,
Rob
[text/x-vcard]
begin: vcard
fn: Rob Rohrbough
n: Rohrbough;Rob
org: Rohrbough Systems Design, Inc.
adr: ;;;Omaha;NE;;USA
email;internet: rob@rohrbough-systems.com
title: Consultant
note: A SAS(R) Institute Quality Partner
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
|