... a Datastructure in reality is some binary data with a misleading name
...structure. Java hasn't such things and you would need some very ugly
jt400 components to try to translate the binary huddle to well defined
data. There is a class com.ibm.as400.access.RecordFormat, but you could put
any shist to this class, without any complaints of bad data, and it will
crash, if you would try to get a singel field of the "structur" back.
I'm following a PORDS2POJO pattern to translate a PORDS (plain old RPG
DataStructure) to a POJO (plain old Java object) encapsulating all ugly
stuff as binary data and strange converting methods of jt400. You will get
some impression, looking to the classes in the packages
de.bender_dv.ardgate.pord2pojo. You will find the sources at
Most of the Beans are only support one direction, composing a DS from a
Java Bean or translating a DS to a Java Bean.
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.