In response to your PM requesting code.
1) I do not
undertake offline Q&A sessions. The forum is for all members to learn from.
2) I do not possess the code to satisfy your request, and will certainly not write any unless
- (a) I need it for myself.
- (b) It is undertaken as a commercial project
DCOLLECT D records will contain the data you need. These are detailed in the IDCAMS manual.
To read the IDCAMS manual, Click HERE
Good luck with your coding, and if you need any help with the issues you find, please let us know.