DTAQ Entries

pts.
Tags:
Development
I was wondering if there was a way in a batch program to determine the number of entries in a dtaq without reading the dtaq.

Answer Wiki

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

the answer is yes.
with api : QMHQRDQD

D DtqDta ds
d Dtq_BRet 10i 0
d Dtq_BAva 10i 0
d Dtq_MsgL 10i 0
d Dtq_KeyL 10i 0
d Dtq_Seq 1
d Dtq_SendId 1
d Dtq_Force 1
d Dtq_Text 50
d Dtq_Reserv 3
d Dtq_MsgN 10i 0
d Dtq_MsgMax 10i 0 Number of messages

Call(e) ‘QMHQRDQD’
parm DtqDta
parm 100 RcvLen
parm ‘RDQD0100′ DtqFmt
parm DtqQalNam

Discuss This Question:  

 
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

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