Yes, I don't think you can do this programmatically.
In that case, how do I selectively add a quantitative resource to only a few jobs in the control M job definition XML ( Let's say, only 50 jobs from a 1000 job XML). The problem with control M job definition XML is that it's not a pure XML and hence using something like perl's XML module is out of question.
My experience with Control-M XML file so far is that it's 100% XML compliant. Your requirement is doable although it's not trivial. I don't see any reason why it can't be done by Perl XML module or any other programming tools.
Thanks Lee. I realised it this morning while trying my hand at it.