Hi,
One can use LinkTypes as suggested. It does work with Active Stages, however if there is a job with Passive stages only, it is not possible using LinkTypes. That is my understanding.
The other route which i tried was using Oletypes for ObjectNames,
which as everybody had explained how to make meaning of it.
However, if just select name,oletype from ds_jobobjects one could
find the meaning however to relate it all only using that much information
was not possible by me. Maybe i am missing something here also.
I just used LinkTypes which worked fine. However, for jobs with only passive stages (luckily there were only a couple) wrote specifically to handle these.
Thank you all once again.