Job Information
Moderators: chulett, rschirm, roy
Job Information
Is it possible to get via the DSGetJobInfo api function to tell if a job has multiple runs possible?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I'm not sure, but I created a function called IsMultiInstance some time ago. It returns true/false depending on whether the job was multi-instance-capable. It checks the appropriate field in the Repository table record that describes a 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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Now that I've looked I'm sure. In version 7 and later:
Details can be found in the Server Job Developer's Guide, page 18-85.
Code: Select all
DSGetJobInfo(hJob, DSJ.JOBMULTIINVOKABLE)
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:
If it is, it's in the online help, and you will find the constant in a file called JOBCONTROL.H in the dsinclude directory.
If it's in neither place, then it's not available in 6.0r3. My routine will work for all releases back to when multi-instance jobs were introduced (5.1?).
If it's in neither place, then it's not available in 6.0r3. My routine will work for all releases back to when multi-instance jobs were introduced (5.1?).
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.