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 |
Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS
can anybody explain significance of *loval setll with example code????
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
How to search particular records from the database file in rpg?
how to change the length of the field in a physicalfile?
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
How can you delete records form a file in rpg without using "Delete" OPCODE?
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
two attributes which govern the excecution of a job>>>>??