This illustration shows the SQL statement for dynamically sizing datafiles:
ALTER DATABASE DATAFILE 'DATA3.ORA' AUTOEXTEND ON NEXT 20M MAXSIZE 1000M;