Edit: See @ErraticAttack's answer below, that is better.
Hi @SIBH,
Is it possible your current data table is not the one you want to manipulate. In your script you are setting dt equal to the current data table, but you are not setting the data table equal to dt. If dt is already defined somewhere, for example if you already used dt = Open( ... ), then you could set the current data table like this:
Current data table( dt );
Or, if dt references the right data table, you could scope your columns to be in that specific table, like this:
for each row (
if (dt:age == 12, dt:age= . );
);