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

Diff B/w ref and reffld?

1 Answers  


What are the valid data types in Data Queue?

1 Answers  


Can you use multi format LF in CL program?

2 Answers  


what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... e.g call PGM(qp2shell) PARM('/qopensys/usr/bin/sh' '-c' 'sftp -b /home/mydir/tmp.txt user@host.com') Plz reply in detail...

1 Answers  


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...

0 Answers  






How to retrieve data from data area?

1 Answers  


Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 Answers  


Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM

2 Answers   IBM, Satyam,


how will you find a string using pdm?

0 Answers   IBM,


What are the types of Signature validation?

1 Answers  


what is term cua , saa?

1 Answers   IBM,


What are the functions of Remote Job Entry (RJE) ?

1 Answers  


Categories