JOB ID In datastage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
ntr
Participant
Posts: 110
Joined: Fri Dec 18, 2009 10:30 am
Location: pune

JOB ID In datastage

Post by ntr »

Hi ,

Please help me where i need to check Job id ..


Regards,
ntr
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

EASY way to find it is to open director, open the job, double click on any log entry in the job, and read the field that says JOB ID.
bhasds
Participant
Posts: 79
Joined: Thu May 27, 2010 1:49 am

Post by bhasds »

or

execute the command

Code: Select all

LIST DS_JOBS WITH @ID=job_name


in administrator command prompt
ntr
Participant
Posts: 110
Joined: Fri Dec 18, 2009 10:30 am
Location: pune

Post by ntr »

Small confusion Please help me JOB ID and JOB NO Same ?
bhasds
Participant
Posts: 79
Joined: Thu May 27, 2010 1:49 am

Post by bhasds »

Hi ntr,

If you are searching with the job number, then you can search with the job number in the DS_JOBS table-

Code: Select all

SELECT NAME FROM DS_JOBS WHERE JOBNO = 'job_number';

The above query can be executed in administrator command prompt.
ntr
Participant
Posts: 110
Joined: Fri Dec 18, 2009 10:30 am
Location: pune

Post by ntr »

Thanks for your repaly...
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ntr wrote:Small confusion Please help me JOB ID and JOB NO Same ?
No, they are not. JOB ID is something I've never had an occassion to use but from what I remember is a user-defined ID that you manually assign to a particular job. Then dsjob can start the job by name or ID.

This is also different from the @ID mentioned earlier...
-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 »

The best way to think of job ID is as an "alias" for the real job name. As Craig notes, there's no requirement at all to use it, but it's sometimes useful where the real job names are long/unwieldy.
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