Q:

Error(6,1): PLS-00103: Encountered the symbol "CREATE"

Hi friends i am gettting this error my query is 
i tried by applying / after declaration of package
Create or Replace Package PACKAGE1 as
    TYPE Page is REF CURSOR;
    Procedure GetPage(PageSize IN int, PageIndex IN INT, PageData OUT Page);
End PACKAGE1;

CREATE OR REPLACE package body PACKAGE1 as
    Procedure GetPage(PageSize IN int, PageIndex IN INT, PageData OUT Page) IS
        FirstIndex int;
        LastIndex int;
    BEGIN
        LastIndex := PageSize * (PageIndex +1);
        FirstIndex := LastIndex - PageSize +1;
        Open PageData for  Select * from (  select a.*, rownum as rnum from (select * from MyTable) a where rownum <= LastIndex ) where rnum >= FirstIndex;
    END GetPage;
END PACKAGE1;

A:

As the commentators pointed, '/' is need for both CREATE statements.
Create or Replace Package PACKAGE1 as
    TYPE Page is REF CURSOR;
    Procedure GetPage(PageSize IN int, PageIndex IN INT, PageData OUT Page);
End PACKAGE1;
/

CREATE OR REPLACE package body PACKAGE1 as
    Procedure GetPage(PageSize IN int, PageIndex IN INT, PageData OUT Page) IS
        FirstIndex int;
        LastIndex int;
    BEGIN
        LastIndex := PageSize * (PageIndex +1);
        FirstIndex := LastIndex - PageSize +1;
        Open PageData for  Select * from (  select a.*, rownum as rnum from (select * from MyTable) a where rownum <= LastIndex ) where rnum >= FirstIndex;
    END GetPage;
END PACKAGE1;
/

