batch Transactoins using EDI

Can anyone tell me how to handle batch transactions of EDI documents.