Yes, we can declare a static variable in the rountine and add the setter method for the respective variable in the routine. Then this variable can be accessed from various jobs.