SQL command to turn off autoextend in data files

sql command to find  dba data files which are autoextensible:

$select FILE_NAME, AUTOEXTENSIBLE from dba_data_files where FILE_NAME like ‘%sapdata%’ and AUTOEXTENSIBLE=’YES’;

To turn off the auto extend for a file :

$ALTER DATABASE DATAFILE ‘/oracle/RAM/sapdata2/sr3usr_3/sr3usr.data3’ autoextend off;