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 |
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
in which journalling which attributes are necessary??/
How to handle duplicate error handling in RPG?
steps for debugging two rpg programs????
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
I want to add 10 days in current date. how it is possible in CL program...?
Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?
what is the use of sflnxtchg?
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
How to declare the dynamic(run time) array in rpgle? can you please give example
in which journalling which attributes are necessary