The instruction nulldata is not working in my script files for some reason. The error message is that it is not available in loop mode, even when I am not using it with a loop

Has this instruction changed?
Thank you all,
Montse