DatastageSolutions wrote:Can anyone think of a neat solution to this problem?
No, at least not in a server job.
In the parallel environment you might be able to do something with a set of parallel jobs - push the first row out into a schema file then use that in a subsequent job.