Hi All,
For some reason, I need to get counts of (i) no. of jobs, (ii) no. of stages, used in my project.
I know how to get the count for (i).
Is there any way to find out the count for (ii)? Of course other than opening all the jobs to count manually.
Thanks!
Number of stages in a project
Moderators: chulett, rschirm, roy
Number of stages in a project
Nitin Jain | India
If everything seems to be going well, you have obviously overlooked something.
If everything seems to be going well, you have obviously overlooked something.
Code: Select all
Select
Count(*) As Cnt
From
DS_JOBS
Where
NAME NOT LIKE '\%'
;
Code: Select all
Select
Count(*) As Cnt
From
DS_JOBOBJECTS
Where
OLETYPE LIKE '%Stage'
;
Mamu Kim
Kim, Thanks alot for providing the SQLs.
Answering to Mike, it's a policy in my organization to collect number of lines of code used in all the projects. This is basically to measure how much coding has been done. Unfortunately (or fortunately
) DS doesn't have code in lines. So we thought of providing them the no. of jobs and stages in the project.
Do you have any better idea to measure the work done on a DS project?
Thanks guys!
Answering to Mike, it's a policy in my organization to collect number of lines of code used in all the projects. This is basically to measure how much coding has been done. Unfortunately (or fortunately
![Wink :wink:](./images/smilies/icon_wink.gif)
Do you have any better idea to measure the work done on a DS project?
Thanks guys!
Nitin Jain | India
If everything seems to be going well, you have obviously overlooked something.
If everything seems to be going well, you have obviously overlooked something.
How about counting the number of lines in .dsx file? Just a thought!
Next questions that might come up are..
What components to export?
Full export or job designs only?
Are we really measuring the work done (resource spent) based on this number?
I know, it's not et al intelligent, but I need to provide the measure of work done in DS in terms of lines of code
Btw, I have currently 138 jobs and 1571 stages in my project. And there are 1432320 lines in .dsx file (exported only Job designs, Shared containers and table definitions).
Next questions that might come up are..
What components to export?
Full export or job designs only?
Are we really measuring the work done (resource spent) based on this number?
I know, it's not et al intelligent, but I need to provide the measure of work done in DS in terms of lines of code
![Confused :?](./images/smilies/icon_confused.gif)
Btw, I have currently 138 jobs and 1571 stages in my project. And there are 1432320 lines in .dsx file (exported only Job designs, Shared containers and table definitions).
Nitin Jain | India
If everything seems to be going well, you have obviously overlooked something.
If everything seems to be going well, you have obviously overlooked something.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Challenge them.koolnitz wrote:Kim, Thanks alot for providing the SQLs.
Answering to Mike, it's a policy in my organization to collect number of lines of code used in all the projects. This is basically to measure how much coding has been done. Unfortunately (or fortunately) DS doesn't have code in lines. So we thought of providing them the no. of jobs and stages in the project.
Do you have any better idea to measure the work done on a DS project?
Thanks guys!
Report that number of lines of code = zero.
Let us know how they react.
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.