Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Does anyone know of a good technique for traversing an IData object whose structure is not predefined using Java? I am trying to use the java trim function to remove the whitespace from a record that was created from a positional based Flat File.
Hi, Take a look at the java services in WmSamples package under idata folder. The service that you should look at is sample.idata:walkAnIData. the method under shared tab “dumpIData” is used to walk through an IData, whose structure can be anything.
Thanks, Hari
Thanks Hari, after posting this I started to look through the samples and found that same example you pointed me to. It certainly helped me to solve the problem I had.