I have CLP and a cobol program. CL program calls the cobol program in Batch mode by doing SBMJOB. The cobol program processing 1000 records from a database file. If it founds errorneous record in the time of processing, then it stops processing with a system generated error massage and control go backs to CL program. My requirement is to trap this errorneous record and also the system generated error massage and make a report with this information and resume the processing of records from very next of the errorneous record that was traped. Please help. My mail Id is firstname.lastname@example.org.