Processing batched SQL statements

AMD2 calls the parse exit routine once for each SQL statement. If the SQL statements are batched using the semicolon delimiter, AMD2 processes each statement separately, calling the parse exit routine and passing the returned SQL text to DB2 UDB. Processing continues until one of these conditions occurs: