It's all about the answers!

Ask a question

RTC Deployment & Locking on IBM i

Len Stockdale (1412123) | asked Jul 19 '13, 4:57 a.m.
edited Jul 22 '13, 3:44 p.m. by Kevin Doyle (60425)

When using RTC to deploy objects to the IBM i, can these objects be locked until the deploy is complete i.e. if the deploy consists of a large number of objects can they be locked until the last object has been successfully deployed.

Could I use a pre-command and if so and would it know which objects to lock?



One answer

permanent link
Kevin Doyle (60425) | answered Jul 25 '13, 11:02 a.m.
Hi Len,

I haven't tried this before, but the way to attempt to do this would be to use a a pre-deploy command to parse the packageManifest.xml file that will be in the deployment directory after the Load step of the Deploy.  This packageManifest.xml has a list of all the objects that will be deployed, that you can go through and then lock.  If you turn on the option in the Package Definition to publish the Package Manifest you can see in the package result what the packageManifest.xml file looks like.


Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.