SAS Component Language Dictionary |
Returns a compound name by merging name parts
name=NAMEMERGE(part-1,part-2<,part-3<,part-4>>);
|
-
name
-
contains a two- to four-part compound name.
Name is blank if any error is detected.
-
part-1 . . . part-4
-
contain the name segments to be merged.
Both part-1 and part-2 must be specified.
NAMEMERGE creates a SAS name by merging the values that
are stored as two to four parts. If four parts are specified, then part-1 and part-4 can be
blank.
Create a CATALOG entry name, using the values stored
in the variables LIBREF, CATALOG, NAME, and TYPE. Then run the CATALOG entry
through DISPLAY.
entry=namemerge(libref,catalog,name,type);
if (entry^=' ') and (cexist(entry)) then
call display(entry);
NAMEDIVIDE
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.