Calling a Job Sequence from a Server Batch

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
gotosarath
Participant
Posts: 13
Joined: Mon Sep 13, 2004 5:01 am

Calling a Job Sequence from a Server Batch

Post by gotosarath »

Hi ,

I am trying to call a Job Sequence (the one with GUI) from a Server Batch (a job in which we code everything in Job Control). It is returning a null handler. Also the Sequence I wanted to call is not listed the list of jobs displayed in the drop down. From this I was able to understand that we cannot call a sequence from Server batch. My question is Why?

Hope spmeone will throw some light on this.

Thanks & Regards,
Sarath
chucksmith
Premium Member
Premium Member
Posts: 385
Joined: Wed Jun 16, 2004 12:43 pm
Location: Virginia, USA
Contact:

Post by chucksmith »

The job your are looking for is probably in the list, just not in the order your expect. Look past all of your server job names. I think sequencers follow server jobs.

Be sure your sequencer is compiled.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As Chuck noted, the display order is... not what most people expect. Keep looking, your Sequencer job is in there! :wink:

And, yes, what you are doing is perfectly fine.
-craig

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