code: def _expopts(self, opts):
          
          optstr = ''
  
          if len(opts):
              for key in opts:
                  if len(str(opts[key])):
                      if key == 'delimiter':
                          optstr += 'delimiter='
                          optstr += "'" + '%02x' % ord(opts[key].encode(self._io.sascfg.encoding)) + "'x; "
                      elif key == 'putnames':
                          optstr += 'putnames='
                          if opts[key]:
                              optstr += 'YES; '
                          else:
                              optstr += 'NO; '
          return optstr
docs: :param opts: a dictionary containing any of the following Proc Export options(delimiter, putnames):
  
              - delimiter    is a character
              - putnames     is a boolean
  
              .. code-block:: python
  
                               {'delimiter'   : ',''
                                'putnames'    : True
                               }
          :return: str