File Creation

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
rcil
Charter Member
Charter Member
Posts: 70
Joined: Sat Jun 05, 2004 1:37 am

File Creation

Post by rcil »

Hello All,

Can I create a output file based on the parameters. For example, I want to create two output files from my source in UAT and in production I want to change the parameter in such a way that the second file should not be created. There is no job sequencer involved. It is a single job.

I know couple of ways to create the empty file hardcoding the constraints with values which are never equal. Is there any other way?

thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You can use boolean job parameters to accomplish the same thing as your 'hard coded' constraint - which, while it will stop the flow of records down the link, will not stop the file from being created. It will just be empty when you are done. :wink:
-craig

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