Batch jobs are a powerful part of DAX and should be utilized as much as possible. But there are times when you write batch job code that works fine in non-batch mode that just error when run in batch.
Recently I had such a problem. The job in question was performing a data import, and part of the job was to change company and import data into the different companies. However it seems that the command ‘changecomapny’ is not acceptable by the batch engine and will cause your job to fail. Removing this command and running the job per company on batch works fine.