def _impopts(self, opts):
optstr = '<STR_LIT>'<EOL>if len(opts):<EOL><INDENT>for key in opts:<EOL><INDENT>if len(str(opts[key])):<EOL><INDENT>if key == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>' + str(opts[key]) + '<STR_LIT:;>'<EOL><DEDENT>elif key == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>'<EOL>optstr += "<STR_LIT:'>" + '<STR_LIT>' % ord(opts[key].encode(self._io.sascfg.encoding)) + "<STR_LIT>"<EOL><DEDENT>elif key == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>'<EOL>if opts[key]:<EOL><INDENT>optstr += '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>optstr += '<STR_LIT>'<EOL><DEDENT><DEDENT>elif key == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>'<EOL>if opts[key] == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>optstr += str(opts[key]) + '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT><DEDENT><DEDENT>return optstr<EOL>
: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