wat is the difference between dataarea and data queue?

Answers were Sorted based on User's Feedback



wat is the difference between dataarea and data queue?..

Answer / prima krishnan

Data areas are objects of type *DTAARA that we can create
and delete at will..A data area that can be used to store
informations with a name,but without any structure...
Dataqueues are permanent objects(type
*DTAQ) that can be used for asynchronously communicating a
strem of values between programs or jobs.....

Is This Answer Correct ?    17 Yes 4 No

wat is the difference between dataarea and data queue?..

Answer / rajesh binani

A Data Area and a DataQ are not having similar features,
but the length of Data area is limited to 1024chars and the
DataQ can have a length of 64512chars.

A DataQ is erased as soon as the data is retrieved from it.
Whereas the data area can have the data stored in it until
the user opts to clear it. In DataQ one had variable for
arrival date,time, the sender id, and the key(in case of
keyed dataq)- this is an advanced feature in DataQ

Hope this helps.

Is This Answer Correct ?    13 Yes 1 No

wat is the difference between dataarea and data queue?..

Answer / shantanu kr dutta

1.We can't initialize an variables at the time of
declaration of a data Queue but we can initialize data area.

Is This Answer Correct ?    11 Yes 3 No

wat is the difference between dataarea and data queue?..

Answer / chandrababu t

Data areas are using to communicate with other programs
within AS400 system where as Dataq's are using to
communicate with other programs out of AS400 SYStem aswell.

data in Data area value is permanent and data in data q is
cleared once it is received. Hope this clear now.

Is This Answer Correct ?    2 Yes 0 No

wat is the difference between dataarea and data queue?..

Answer / chandrababu t

Data areas are using to communicate with other
programs/jobs within AS400 system where as Dataq's are
using to communicate with other programs/jobs out of AS400
SYStem aswell.

data in Data area value is permanent and data in data q is
cleared once it is received. Hope this helps.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More RPG400 Interview Questions

i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

0 Answers  


How many program bind in one module....

0 Answers  


1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?

6 Answers   Virtusa,


RPG/400 faqs?

1 Answers   HSBC,






is this a rpg channel?

0 Answers   IBM,


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

1 Answers  


what is the use of sflnxtchg?

0 Answers   IBM,


What is the length of Signature?

3 Answers   UST,


To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...

5 Answers  


difference betwen keywords and opcodes

3 Answers  


how do u find whether a record is locked or not??

4 Answers   CTS,


Categories