31813 Queue not opened for modify
Cause
This error occurs if you attempt to modify the maxMemoryInuse, maxMessageCount, or maxMessageLength property of a JadeGenericQueue instance and the queue was not opened, using the openQueue method of the JadeMessagingFactory class, with the option of modification.
Action
Open the queue with the options parameter including Usage=Mod or Usage=All, which enables you to modify queue properties.