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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is elastic and non elastic subrile?

563


What are the record format field mapping options in cpyf?

613


what does the ovrdbf command do?

665


what are various techniques to pass parameters from one program to another?

1042


what is the purpose of putovr (put with explicit override) keyword?

931






how can I automatically refresh a web page?

634


If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...

2183


in conjunction with what other keyword must ovrdta and ovrata be used?

914


What is a query can be displayed without saving it?

674


what opcode could be used to test an alphanumeric field for all numeric values?

1071


what does check opcode is used?

972


what is the command used to invoke rlu ?

1175


1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?

3066


Why we are not able to perform insert delete and update operation in Join logical file?

935


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

596