The application that /owns/ the *DTAQ object should know how to
[re]create the object. If the application does not have a documented
procedure to do that, then one would hope for comments in the source
code. If neither, then as was already mentioned, there is the Retrieve
Data Queue Description (QMHQRDQD) API to determine the attributes:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qmhqrdqd.htm
Be sure to consider also that the object owner and private
authorities might be of interest. DSPOBJD and DSPOBJAUT, or respective
APIs. Since a MOVOBJ should be capable to move the *DTAQ even while it
is damaged, after the appropriate ownership is established, GRTOBJAUT
REFOBJ() REOBJTYPE() can be used to effect the same authorities on the
new object from the old\moved object.
An application should probably be generally capable of recognizing
that its data queue object is damaged and then to: effect dump of the
object, log the incident, delete the damaged object, and then
automatically to recreate the data queue with the required ownership and
authorities [see above for move and grant].
Regards, Chuck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.