SAS Component Language Dictionary |
Category: | Utility |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
name=NAMEMERGE(part-1,part-2<,part-3<,part-4>>); |
contains a two- to four-part compound name. Name is blank if any error is detected.
contain the name segments to be merged. Both part-1 and part-2 must be specified.
Details |
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.
Example |
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);
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.