Data Stage ProcessId

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
das_nirmalya
Participant
Posts: 59
Joined: Thu Mar 20, 2008 12:11 am

Data Stage ProcessId

Post by das_nirmalya »

I want to get the process/jobid when i execute a DS Job, I want this information to store it in a Log file for future reference.

What is the process to do so.
nsd
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

A DataStage server job may have more than one process. Are you certain you really wish to store this information as it would be of limited use. The user number is also stored in director log for a given run.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

i have not yet tried

DSJ. JOBPID Integer. Job process id.

process_id = DSGetJobInfo (DSJ.ME, DSJ. JOBPID) can help
das_nirmalya
Participant
Posts: 59
Joined: Thu Mar 20, 2008 12:11 am

Post by das_nirmalya »

sachin1 wrote:i have not yet tried

DSJ. JOBPID Integer. Job process id.

process_id = DSGetJobInfo (DSJ.ME, DSJ. JOBPID) can help
thank you, but is it possible to use this code in Transformer, or we have to use it in Job Control Interface?
nsd
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

if it is a custom transform routine then in transformer or otherwise in job control interface
Post Reply