code: def _impopts(self, opts):
          
          optstr = ''
  
          if len(opts):
              for key in opts:
                  if len(str(opts[key])):
                      if key == 'datarow':
                          optstr += 'datarow=' + str(opts[key]) + ';'
                      elif key == 'delimiter':
                          optstr += 'delimiter='
                          optstr += "'" + '%02x' % ord(opts[key].encode(self._io.sascfg.encoding)) + "'x; "
                      elif key == 'getnames':
                          optstr += 'getnames='
                          if opts[key]:
                              optstr += 'YES; '
                          else:
                              optstr += 'NO; '
                      elif key == 'guessingrows':
                          optstr += 'guessingrows='
                          if opts[key] == 'MAX':
                              optstr += 'MAX; '
                          else:
                              optstr += str(opts[key]) + '; '
          return optstr
docs: :param opts: a dictionary containing any of the following Proc Import options(datarow, delimiter, getnames, guessingrows):
  
              - datarow      is a number
              - delimiter    is a character
              - getnames     is a boolean
              - guessingrows is a numbers or the string 'MAX'
  
              .. code-block:: python
  
                               {'datarow'     : 2
                                'delimiter'   : ',''
                                'getnames'    : True
                                'guessingrows': 20
                               }
          :return: str