Cannot change chosen special register. Statement ignored.
30
Cause . . . . . : You cannot change the value of the DB-FORMAT-NAME, LENGTH OF, LINAGE-COUNTER, RETURN-CODE, SORT-RETURN, XML-EVENT, XML-TEXT, XML-NTEXT, or any of the DEBUG special registers. This also applies to fields that are subordinate to these registers.
Recovery . . . : Move the contents of the special register to a user-defined item, then change the value of this item.