using filter command

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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Enable the Filter option in the stage and then put a command in the filter that returns a simple list of filenames, something like:

Code: Select all

ls -1
-craig

"You can never have too many knives" -- Logan Nine Fingers
asaf_arbely
Premium Member
Premium Member
Posts: 87
Joined: Sat Jul 14, 2007 2:24 pm

Post by asaf_arbely »

chulett wrote:Enable the Filter option in the stage and then put a command in the filter that returns a simple list of filenames, something like:

Code: Select all

ls -1
...
and value shuld i fill in the file name field ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Try the directory the files can be found in, the stage will combine the two and read the 'standard out' of the command as input to the stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply