( SELECT MAX(TO_CHAR(CCSREVEFFECTIVEDATE,'dd/MM/yyyy'))<- extra ) here
FROM CCS2_TBL_MASTERLIST ) <- this is the end of the SELECT
You have an extra closing parenthesis on the first line above.
And why are you converting your dates to character strings to find the maximum value?