Returns the name of the parse definition that is associated with a match definition.
Valid in: | DATA step, PROC SQL, and SCL |
Requirement: | The specified locale must be loaded into memory as part of the locale list. |
the name of the match definition. The definition must exist in the locale that is used.
specifies a character constant, variable, or expression that contains the locale name.
Default | The default locale is the first locale in the locale list. If no value is specified, the default locale is used. |
data _null_; parseDefn=dqMatchInfoGet('Name', 'ENUSA'); tokens=dqParseInfoGet(parseDefn); put parseDefn= / tokens=; run; data _null_; length parsedValue $ 200 matchCode $ 15; parsedValue=dqParseTokenPut(parsedValue, 'Joel', 'Given Name', 'Name'); parsedValue=dqParseTokenPut(parsedValue, 'Alston', 'Family Name', 'Name'); matchCode=dqMatchParsed(parsedValue, 'Name'); put matchCode=; run;