1. Read in the flat file
2. Take the name of the stored procedure from the flat file.
3. Prepare the first execute statement by reading the flat file line by line. Each EXEC statement input variable is defined line by line in the flat file.
4. When either there is a change in the unique identifier (ie. there is a new component), or the END of the file is reached, the EXEC is fired and the next EXEC statement build is begun.
5. The EXEC statement/s are fired in turn and the results returned to a output file.