Large file to split

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Large file to split

Post by ray.wurlod »

vsi wrote:Thanks for u r response, Dsguru


I am sorry, i loaded the metadata

and the job design is as follow

seq.file -----> Transformer ------> multiple sequential files.

in the transformer i used the constratin

@INROWNUM<10000 ----- FIRSTFILE
@INROWNUM>10001AND@INROWNUM

like this i am using a condition for different sequential file,

but it is not working

is there any other method to split into multiple files.

Thanks in advance.
The split command in UNIX (it is available in Linux) will do this kind of split for you very efficiently. Get to a Linux prompt and read the man page for the split command.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply