Dummy input in Server Jobs

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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You can create a server job without inputs. Create a transform stage with no inputs, define a stage var (you don't need to use it) and define a constraint such as "@OUTROWNUM<2" and you are done.
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

Or create a sequence job, add a routine activity and call your routine from there... sounds like what you want anyway...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I like to use a hashed file stage invoking VOC with the Selection tab having @ID = 'VOC', or a sequential file stage accessing a file that is known to exist (such as uvodbc.config) and a filter of head -1.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
lindatgeorge
Participant
Posts: 34
Joined: Mon Jun 15, 2009 12:16 am
Location: Bangalore

Post by lindatgeorge »

Adding the stage variable and including the constraint resolved my issue.


Thanks a lot for all your help.. :)
Post Reply