File name to target

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
kommven
Charter Member
Charter Member
Posts: 125
Joined: Mon Jul 12, 2004 12:37 pm

File name to target

Post by kommven »

How can I get source file name as target field
Lucky
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Re: File name to target

Post by ogmios »

Determine the filename in a BASIC job that starts the real job of which the filename is an argument. Then use the argument in a transformer as a constant field.

Ogmios
sharath
Participant
Posts: 5
Joined: Thu Jun 10, 2004 9:15 am

Re: File name to target

Post by sharath »

Use DSJobName in the column where you want to the filename to be displayed
Post Reply