I have two Hive scripts which look like this:
Script A:
SET hive.exec.dynamic.partition=true; SET hive.exec.dynamic.partition.mode=non-s
You can store these configuration parameters in common file and load in each of your scripts using source command:
source
source /tmp/common_init.hql;
Also you can generate this file for each workflow from the database.