Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

future date in background job

former_member841898
Participant
0 Kudos

hi experts,

can anybody pls give me sample code for running proram in backgrnd mode <b>(not immediate run but a future time), moreever it should be done thru programs not sm36 and 37.</b>

thanks

pankaj

2 REPLIES 2

former_member223537
Active Contributor
0 Kudos

Hi,

You need to use

JOB_OPEN

JOB_SUBMIT

JOB_CLOSE

In FM JOB_CLOSE, there is a parameter SDLSTRTDT where you can pass the date.

Best regards,

Prashant

0 Kudos

hi prashant,

i have used this but the o/p comes immediately and the job staus is showing always released and not complete when the future time end.

regards

pankaj