Job has source from multiple files

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

Post Reply
ravikiran2712
Participant
Posts: 38
Joined: Thu Nov 04, 2004 10:36 am

Job has source from multiple files

Post by ravikiran2712 »

Hi all,
i have a job which has source as multiple files. Do we have a feature of file list which just loads the files into the sequential file stage and the job runs as many as the files we have.
Any help would be appreciated,
Thanks,
Ravi
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

No. You can, however, use a Batch job to execute a system level command to get the list of files to process, and then, in a loop using the DS job control API's, start the job(s) necessary to process each file, passing the filename as either a parameter or moving the file into position for processing under a standard name.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
als110
Participant
Posts: 43
Joined: Fri Nov 05, 2004 11:21 am
Location: United States

Post by als110 »

If the fiel names are going to stay constant or then number of files is oging to stay constant why not just have a before job that runs in unix to cat the files together prior to the job starting
Post Reply