Oracle SQL developer select query on stored procedure with out parameters : I wrote Oracle stored procedure on oracle SQL developer with out parameters as below

create or replace PROCEDURE           "SYSLOCKDAILY" 



Is

 BEGIN

 select * from PDB2B_SYSTEMLOCKINFO   where ISDAILY = 1 and active = 1 and  
 TO_TIMESTAMP (to_char(sysdate,'HH12:MI AM'),'HH12:MI AM') >=TO_TIMESTAMP 
 (STIME,'HH12:MI AM') and TO_TIMESTAMP (to_char(SYSDATE,'HH12:MI AM'),'HH12:MI AM') <= TO_TIMESTAMP (ETIME,'HH12:MI AM');
 
COMMIT;
END SYSLOCKDAILY;
 
But I got error as below on error log. Pls help me fix this.

Error(9,2): PLS-00428: an INTO clause is expected in this SELECT statement