server routine in sequence with parallel job in job activity

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
pankajp123
Premium Member
Premium Member
Posts: 6
Joined: Wed Mar 26, 2008 11:20 pm

server routine in sequence with parallel job in job activity

Post by pankajp123 »

Hi

How it will effect if i use server routine in a sequence where job activity will run a parallel job. My basic intention is to avoid writing C++ routine required for writing parallel routine.
Here is my job design-
routine activity ----job activity--- routine activity

1.Here first routine activity will write some entries like job execution time, Job name in one of the audit table.That will be done through calling perl script in job routine.
2.Job activity will be used to call a job
3.Last routine activity will be used to call orchadmin rm command to delete dataset.

We have datastage 8.1 version installed on windows server platform.

Thanks and regards,
Pankaj Pathak
hi
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Parallel routines are to be used within jobs.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: server routine in sequence with parallel job in job acti

Post by chulett »

pankajp123 wrote:How it will effect if i use server routine in a sequence where job activity will run a parallel job.
There is no 'effect', that's how they are meant to be used - Server routines with any combination of Server or PX jobs.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Indeed the only type of routine that can be invoked by a job sequence's Routine activity is a server routine whose type is "tranform function".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply