The delaration for refcursor should be as follows:

type get_tab_data IS REF CURSOR;