Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
First you need to REPRO the VSAM dataset to a sequential dataset and then load the sequential dataset into the table, provided that the table is created based on the VSAM dataset layout.
Check this link for a detailed explanation and examples of the IDCAMS REPRO command.
Check this link for a detailed explanation and examples of DB2 utility LOAD.