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 |
What is the Record Address file. How can we use it in RPG program?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
How to declare the dynamic(run time) array in rpgle? can you please give example
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
we are sending data of physical file to screen design and it is showing no record why?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?