After job subroutine

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
dsuser08
Participant
Posts: 29
Joined: Wed Feb 06, 2008 3:56 am

After job subroutine

Post by dsuser08 »

Hi

Is it possible to pass 2 parameters to After job subroutine.If so how Should I dot it?When I give comma inbetween 2 parameters,it gives wrong output.

Please help

Thanks.
U
Participant
Posts: 230
Joined: Tue Apr 17, 2007 8:23 pm
Location: Singapore

Post by U »

Put them both in the Input Values field. If you want a comma between them, that is fine. #TargetDir#,#TargetFile# for example.

In the subroutine itself you need to parse out the individual values. For example Field(InputArg, ",", 1, 1) and Field(InputArg, ",", 2, 1).
Post Reply