I am looking to check to see if a table exists. If it does, I want to delete every row in it. If the table does not exist, I want to create the table. This is all preparation to use the table.

When I put the pieces together, it does not work. As three separate statements, they work assuming that the table is created or is not created as needed. Together they fail. Any ideas? I must have something rather simple wrong.
Code:
IF 
    ( 
        ( 
        SELECT 
            COUNT(*) 
        FROM 
            SYSCAT.TABLES 
        WHERE 
            TABSCHEMA   = 'TEST_SCHEMA' 
            AND TABNAME = 'TEST_TABLE' 
        ) 
        = 0 
    ) 
    BEGIN 
        CREATE 
            TABLE TEST_SCHEMA.TEST_TABLE 
            ( 
                ID INT 
            ) 
        END 
    ELSE 
        BEGIN 
            DELETE 
            FROM 
                BISDCUST.ACE_GRADES_AUSTIN 
            END
            ;