Batching applies only to bulk copying in; it has no effect when copying out. By default, the SAP ASE server copies all the rows in batches of 1000 lines. To specify a different batch size, use the command-line option (-b).
bcp copies each batch in a single transaction. If the SAP ASE server rejects any row in the batch, the entire transaction is rolled back. By default, bcp copies all rows in a single batch; use the -b parameter to change the default batch size. The SAP ASE server considers each batch a single bcp operation, writes each batch to a separate data page, and continues to the next batch, regardless of whether the previous transaction succeeded.
The SAP ASE server treats each batch as a separate transaction. If the server rejects any row in the batch, it rolls back the entire transaction.
When bcp rejects a batch, it then continues to the next batch. Only fatal errors roll back the transaction.
The SAP ASE server generates error messages on a batch-by-batch basis, instead of row-by-row, and rejects each batch in which it finds an error. Error messages appear on your terminal and in the error file.