Why do I get ‘MODIFY not allowed’ in ADS?

Document ID : KB000005102
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

The ADS compiler rejects a MODIFY statement with message  

“DC159068 OPERATION NOT ALLOWED FOR SPECIFIED RECORD. STMT FLUSHED”

 

for a certain subschema. 

Environment:
all supported CA IDMS releases
Cause:

MODIFY RECORD is not possible with the subschema used in this dialog.

Resolution:

When you get this message you should check if the record is a member of a set that is not defined in the subschema. If the record is a member of a sorted set, chained or index, and the set is not included in the subschema, IDMS will not allow the record to be modified since a MODIFY could change the sort key and require set maintenance.

Additional Information: