The
getrecord function returns the name of the record that contains the item identified by the string expression
item_name_string.
The function returns a string with the name of the record. If the item does not exist, the function returns a blank string.
errmsg("SEX belongs to %s",getrecord("SEX")); // SEX belongs to POPULATION
errmsg("WATERSOURCE belongs to %s",getrecord("WATERSOURCE")); // WATERSOURCE belongs to HOUSING