How to identify a Job Server y Parallel
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 133
- Joined: Wed Mar 05, 2003 4:19 pm
- Location: Lima - Peru. Sudamerica
- Contact:
How to identify a Job Server y Parallel
Hi Forum,
I'm using the DSGetJobInfo Function to obtain information from jobs, but this function dont return the job type (server or parallel), this attribute is important for my process because i need analize the job server and parallel for separate.
I expect for your answer.
I'm using the DSGetJobInfo Function to obtain information from jobs, but this function dont return the job type (server or parallel), this attribute is important for my process because i need analize the job server and parallel for separate.
I expect for your answer.
Saludos,
Miguel Seclén
Lima - Peru
Miguel Seclén
Lima - Peru
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There is a column called JOBTYPE (or JOBTYPEIND) in the DS_JOBS table.
Code: Select all
SELECT JOBTYPEIND FROM DS_JOBS WHERE NAME = '<<Job name>>';
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What query did you use? I suspect you got it right - you can override the column heading ("Reserved" is the default column heading). And, yes, job type is enumerated: from memory they decode as 0 = server job, 1 = mainframe job, 2 = job sequence and 3 = parallel job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.