Address Book agent (RenamePastedAccounts) bug when paste

Endless loop in paste agent RenamePastedAccounts causes system hang. Template StdR4PublicAddressBook for 8.5.2 07/22/2010. To reproduce just try pasting any document with TYPE_FIELD not equal to ACCT_TYPE. The statement Set doc = dc.getnextdocument(doc) needs to be outside the IF.

Subject: known issue

https://www-304.ibm.com/support/docview.wss?uid=swg21446084&wv=1