When using separate programs to retrieve and display data, use arrays or multi occurrence data structures to pass back larger amounts of data strings.
This is RPGIV and spacing is cut down to size in this box.
Define the multi occurrence data structure. This one is a length of 1800 and 5000 records.
D VPDATA DS 1800 OCCURS(5000)
.
.
load the occurrence after reading the data base or receiving communications
C ADD 1 VPOCUR
C VPOCUR OCCUR VPDATA
C MOVEL FIELD VPDATA
.
.
data is passed back via the entry parm
C *ENTRY PLIST
C PARM VPDATA
==================================
MORE INFORMATION ON THIS TOPIC
==================================
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Search400's targeted search engine: Get relevant information on RPG.