37:
38:
39: FOR i in 1..p_number_of_threads loop
40:
41: l_call_status := fnd_request.set_repeat_options('',p_period_to_wake_up,'MINUTES','END',p_schedule_worker_stop_date);
42:
43:
44: l_request_id := fnd_request.submit_request('IEM', 'IEMNGNWW', '',p_delay_worker_start_time,FALSE,1,'F','T','MAILPREPROC','IEM_MAIL','NO_WAIT',p_number_of_msgs);
45:
40:
41: l_call_status := fnd_request.set_repeat_options('',p_period_to_wake_up,'MINUTES','END',p_schedule_worker_stop_date);
42:
43:
44: l_request_id := fnd_request.submit_request('IEM', 'IEMNGNWW', '',p_delay_worker_start_time,FALSE,1,'F','T','MAILPREPROC','IEM_MAIL','NO_WAIT',p_number_of_msgs);
45:
46: if not l_call_status then
47: rollback;
48: raise REPEAT_OPTIONS_NOT_SET;