dataName denotes the dataset where the attribute is appended. If NULL, it is added to no dataset, but the iteration group.