Batch Jobs and companies

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s