Restoring a dtaq in iseries.

0 pts.
Tags:
AS/400
Database Management Systems
DataCenter
DB2
Development
Hardware
I need to know if there is a way to save a data queue with some entries in it, and then restore the data queue in the same or other library with its entries included. When i do that, the dtaq is empty. If someone knows how to do that, please tell me. Thanks.
ASKED: May 12, 2005  6:08 PM
UPDATED: October 25, 2009  10:44 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

you can save the object itself, the data queue, but not what is in it..

=====================================================

Since you don’t tell us anything about your environment, it’s hard to say. But I can suggest looking at the QDTA() parameter of SAVOBJ if you’re at V5R4 or later.

Tom

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • WaltZ400
    The only way I have been able to accomplish this is to create a flat file the same size as the largest entry in your dtaq. Write a quickie RPG program to receive the entries from your dtaq and write them into the file. Delete the dtaq and recreate it in the new library. Then write another RPG program to read the file and write these back to the dtaq.
    655 pointsBadges:
    report
  • bvining
    Just in case someone finds this question and answer, V5R4 added the capability to save *DTAQ messages. The parameter QDTA was added to commands such as SAVOBJ, SAVLIB, etc. Bruce Vining
    6,240 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following