wat is the difference between dataarea and data queue?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?
How to find d key field of a pf that doesn’t have source physical file?
A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???
i'm working on progA , in that program i want to see the userids of the users who work on this program?
purpose of pannel group??/
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
we are sending data of physical file to screen design and it is showing no record why?
wat is meant by hidden field , why it is used?
can anyone say,what is the use of operation extended H/N/P?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
How do you find whether a record is locked or not?