Joined: 14 Jan 2008 Posts: 2504 Location: Atlanta, Georgia, USA
Compile/assemble sample program DFH0FORC. It is recommended to modify the open statement of the output file from OPEN OUTPUT to OPEN EXTEND in case you want to reuse the program at a later date and process multiple DFHCSDUP requests in a single job step.
Execute the DFHCSDUP utility to perform an EXTRACT command with the
USERPROGRAM option. The utility will create a sequential file for the CSD and needs to be executed for each CSD.
Write a small program to sort/compare the contents of the two sequential
CSD extract files. The record formats for each resource definition type
can be copied from sample program DFH0FORC to assist with the comparison.