Joined: 11 Dec 2008 Posts: 59 Location: Pune , India
When we do a recompile or staging of a component in version control tool changeman , it submits a job at the background. Now if you try to submit the same job in the spool directly , either directly or by giving USER=changeman , it abends for insufficient access authority . Is it possible to submit changeman recompil/stage jobs from outside ?
I was thinking of making a mass recompile utility . When you give a package name , it would submit a recompile job for each of it's individual members. This way it would save us a lot of manual overload.
You do not need a separate mass recompile utility as changeman already provides this option. Please refer to Chapter 6 in changeman user guide. And moreover submitiing a changeman job in a spool will give security issues. You can avoid it by getting access to the libraries used by changeman job. All depends on the security profile setup.
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
it abends for insufficient access authority
and ideally -- it should.
Changeman is not just a version control tool -- it does link/edit as well and gives you "ready-made" load module in some changman library; at my shop neaming convetion is something like:CHGMAN.GMS%.#pckgno.LOD for the load libraries; ofcourse "CHGMAN" is just other HLQ I do not have write access to. When you SUBmit the job which was generated in "back-ground" as you say-- my ID just don't have access to this HLQ. Period.
When you use USER=username, that requires to pass the PASSWORD=password as well and without that it won't work-- so providing USER=chageman won't work.
Jagan has suggested well-- please go through the changeman user guide, changeman does provides "mass" recompile option.