Error with SELECT statement in a FOR loop. SQLDEVELOPER : When I try to execute the code below I receive this error here:

Error(9,4): PLS-00103: Encountered the symbol "SELECT" when expecting one of the following:     ( ) - + case mod new not null <an identifier>    <a double-quoted delimited-identifier> <a bind variable>    table continue avg count current exists max min prior sql    stddev sum variance execute multiset the both leading    trailing forall merge year month day hour minute second    timezone_hour timezone_minute timezone_region timezone_abbr    time timestamp interval date    <a string literal with character set specifica

    CREATE OR REPLACE PROCEDURE PROC_LIST_SIMILAR_TVSERIES
    (seriesName IN SERIES.NAME%TYPE)
    AS CURSOR series IS (SELECT IDS FROM SERIES WHERE NAME = seriesName);
    
    allSeries SERIES%ROWTYPE;
    
    BEGIN
    FOR series IN allSeries
      (SELECT 2*
      (SELECT COUNT(*) FROM DICT d WHERE d.idt IN (
      SELECT DISTINCT IDT FROM POSTING WHERE IDS = series
      INTERSECT
      SELECT DISTINCT IDT FROM POSTING WHERE IDS = allSeries.IDS))
      / ((SELECT DISTINCT COUNT(IDT) FROM POSTING WHERE IDS = series) +
      (SELECT DISTINCT COUNT(IDT) FROM POSTING WHERE IDS = allSeries.IDS) ) INTO similarity
      FROM SERIES s1, SERIES s2
      WHERE s1.IDS = series
      AND s2.IDS != series);
      
      IF similarity > 0.7 THEN 
    DBMS_OUTPUT.PUT_LINE('ok');
    END LOOP;
    END;
    /

What the code does is take in a name, find it's ID, and compare it to other id's. I'm trying to print out "ok" whenever the similarity calculation is over 0.7 . No idea why this doesn't work. 