I have search in different threads and tried out different solutions but it does not work.
Job is scheduled from running program and needs to pick spool number from TSP01 table after Job_submit.
I have also tried wait command for 10 seconds ,commit work .Issue is that whenever program runs first time and it does not find spool number. But when again it runs, it found spool number updated.
Please let me know your ideas on this.