Documentation and examples on how to use ProDataSets
There have been a number of major milestones in Progress releases. The first that comes to mind in more recent times was the introduction of the appserver. Since then there have been other significant introductions such as super procedures, processing handles, and object orientated code. Another recent significant feature, which is the text of this paper, is the prodataset.
This is a minimal case example of using a ProDataset to marshal data from one TT to another TT. This code was written to demonstrate how a data-source, dataset, and a set of temp-tables are structurally assembled to read data from one table into another table.
/* Procedure Temp-Tables */ DEFINE TEMP-TABLE tt-src NO-UNDO FIELD i1 AS INTEGER INDEX i-i1 i1 . DEFINE TEMP-TABLE tt-tgt NO-UNDO LIKE tt-src . /* Procedure Variables */ DEFINE VARIABLE cur-cnt AS INTEGER NO-UNDO.
This page was created with the idea that it would be the beginning entry in a series of contributions by multiple authors, eventually turning into general documentation on ProDataSets. After one early contribution by Tim not much got added until Miles came along with his large contribution which covers a lot of ground. While that was a big help, I am sure there can always be more, so I have left this page as a pointer for those who might consider making contributions. What I would like in particular I am describing below:
I would like two documentation hierarchies.