WHAT IS THE DISPLAY CMD FOR DATAQ, HOW IT CAN BE USED?

Answers were Sorted based on User's Feedback



WHAT IS THE DISPLAY CMD FOR DATAQ, HOW IT CAN BE USED? ..

Answer / katiyar

Unlike DSPDTAARA, There is no iSeries/AS400 defined command
for display data queue.

The following commands are among the few CL commands that
IBM ships with OS/400 for data queues:

* CRTDTAQ--Create Data Queue
* DLTDTAQ--Delete Data Queue
* WRKDTAQ--Work with Data Queues

But No DISPLAY CMD FOR DATAQ is defined for DATAQ. Some one
can created his/her own command to display data queue
contents using APIs. Use Google and give a try.

========================================================
Instead of that TAATOOL (A Third Party Command Utility
Provider) has created a command.

A typical command would be:

DSPDTAQD DTAQ(xxx)

Command parameters
-----------------

DTAQ The qualified name of the data queue. The
library value defaults to *LIBL. *CURLIB may also
specified.

OUTPUT Whether to display or print the output. * is
the default. *PRINT may be entered. These values have
the same meaning as on system commands.
==========================================================

Is This Answer Correct ?    17 Yes 1 No

WHAT IS THE DISPLAY CMD FOR DATAQ, HOW IT CAN BE USED? ..

Answer / tushar kakkar

There is a command in AS400 called DMPOBJ. I have used this command to effectively display contents of a data queue on interactive session.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is rpg fixed logic cycle?

0 Answers   IBM,


what is the use of unique keyword and what level it is defined?

1 Answers   IBM,


how to see all source files in a particular library? ex:xyz is a library name a,b,and c..... are source files how to see?

13 Answers  


what keyword must be used with protect keyword ?

1 Answers   IBM,


What is a Member?

1 Answers  






what is pointer error in rpg IV?

4 Answers   CTS,


When would the ALL keyword be used?

1 Answers  


What is the symbol used for copying & moving new field in SDA?

1 Answers  


What is the difference between regular logical file and join logical file?

1 Answers  


at what level s,o are defined and what they will do?

1 Answers   IBM,


pf named karthik 3members jan feb mar cmd must executed create mbr ar ap

0 Answers  


I have SQLRPGLE program in which there are some update statements which executed correctly. there were no errors run time. Once the program gets over, the file was not updated with the new values. What might be the reason?

2 Answers  


Categories