cancel
Showing results for 
Search instead for 
Did you mean: 

time out for scheduled job.

Former Member
0 Kudos

Hi,

is it possible set time-out for scheduled job.

Sometimes jobs hunged up with some reasons.And they do not take effect for later actions.

does it possible the setting timeout?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

there is no such thing as a timeout for MII scheduled jobs.

As a job is basically a transaction that is started automatically by the MII scheduler, the best thing you can do is trying to make the transaction more robust. Check for possible errors, e.g. if databases are down, queries do not get a result, or SAP calls have errors. So you mostly can avoid situations when a transaction runs into an error that blocks the process. In the query definition, you are able to set a timeout after MII sets the query call to failed (e.g. see [Server parameters MII 12.1|http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm])

From MII 12.1 on, the Transaction Manager helps to check if transactions are stuck and kill the process if needed.

Michael

Former Member
0 Kudos

Hi,

Yes, as Mike said, we can not set any timeout for MII scheduled jobs.

You can build the scheduling pattern of the jobs carefully and correctly. Moreover, you can apply all the error handling concepts in transactions. Use 12.x MII Best practices for Do's and Don'ts.

Hope it helps.

Best Regards,

Kedar