MP-RAS is the 'flavour' of UNIX used on the Teradat box. It's a bit old and has a 2GB limitation on the size of any files.
Quick bit of maths makes me think you may indeed have hit the 2GB limit...
24,000,000 * 97 = 2,328,000,000 (to give the number of exported bytes).
2,328,000,000 / 1,073,741,824 = 2.2 (to give the number of exported GBs)
You could try breaking your export job into 2 or 3 parts, or run your script from, say, a LINUX box connected to the Teradata box, or if you're also channel-attached, you could export to an MVS dataset.
Having said all that, if you're certain you've got up to 4.5GB output, then I'm stumped :-(