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

How can we search particular records from the database file in RPG. For example, 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?

4 Answers   CTS,


how can I tell when to replace the array?

0 Answers   IBM,


Can AnyOne tell me how to read join logical file in rpg from starting to end?

2 Answers  


If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.

3 Answers  


why we do STRSRVJOB in batch debugging in as400

1 Answers  






1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?

3 Answers   HSBC,


How can you delete a record from a file in RPG without using DELETE oppcode?

2 Answers   UST,


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

0 Answers  


where we give the MSGSFL in rpg400?

4 Answers  


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


IN RLU what are the record level keyword is used?

5 Answers   iGate, TCS,


Categories