generate sampling job