docs: def get_dsn(d):
      """
      Get the dataset name from a record
  
      :param dict d: Metadata
      :return str: Dataset name
      """
  
      try:
          return d["dataSetName"]
      except Exception as e:
          logger_misc.warn("get_dsn: Exception: No datasetname found, unable to continue: {}".format(e))
          exit(1)