You can use batch files to transfer several files between your PC and the mainframe host. A batch file consists of two main components: a batch list, and send or receive commands. The batch list groups send and receive commands that you can run from your batch file. You can have several batch lists within one batch file, and several commands within each batch list.