To view what is the error you can go to SYSOUT in your spool and enter 'M' and press F8. now press F7 until you could see the error messages printed there. Reade that carefully. It will specify the error level such as 'I', 'S'. If the statement is 'I' neglect it. Check into the statements that are mentioned as 'S'. In the same line you will get to see the line number of the code where the error is present along with the error. Just try to correct it or attach those error messages.