define what a data queue is along with a brief example of what it may be used for?

Answer Posted / aruna

Data queues provides communication between programs by calling API's QSNDDTAQ and QRCVDTAQ along with parameters like data queue name, library in which data queue exists, variable to store the number of characters to be sent, variable to store the information to be sent. We can send the same data queue to the many programs.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

2027


how to validate input values in display file ?

755


define subsystem?

1170


what is *inzsr used for?

1709


In 'o' Specs What Is The Opcode For Write?

804






how to toggle between single line and multi - line display of a particular record in a subfile?

1249


how to define to define a hidden filed in dspf ?

900


explain the purpose of keep and assume keywords?

1238


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

2203


what is the purpose of ovrdta (override data) keyword?

1243


during input operation which indicator position is seton if there is a record lock?

1096


where can you specify an indicator in lokup operation?

1313


How can we change the uppercase to Lowercase in RPG?

1017


what is the purpose of the indara keyword?

1254


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

1239