David,
Here are some thoughts:
Use the Fileset protocol for picking up the file.
If you are picking it up from another machine then Fileset/FTP.
If the file is local to you (either they are FTP’ng to your File System or it is on a referenceable network drive) use Fileset/Local.
Depending on how the file is batched you may need some Tcl to remove the FSH and/or BSH segments and break into separate messages. If each message is separately delineated in the file you may not need any Tcl.
Route the Messages pretty much the same as with real-time and execute your Xlate.
Use the Fileset protocol again for the destination. Either Fileset/FTP or Fileset/Local depending on method of delivery.
Depending on the characteristics of the file presence in the Source directory (mixed with other files, only certain files of a set wanted, etc.) you may need a Directory Parse Tcl proc.
You may also need a Delete proc if you do not want each file picked up deleted from the source.
If your destination files need to be named other than the configuration setting in the Fileset configuration, you will need a Tcl proc to accomplish that.
There could be more depending on your situation.
email: jim.kosloskey@jim-kosloskey.com 30+ years Cloverleaf, 60 years IT – old fart.