Application Development and Automation 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: 
Read only

parallel processing time limit

Former Member
0 Likes
1,174

Hi Experts,

My req. is to run the parallel processing with huge data. (More than 15 million)

For parallel processing is the waiting condition must. i am facing one issue like if the waiting time is 600 seconds then i got the timeout over there.If the time is not given then it run for infinite time. as per i know if i do not put waiting condition( Start_task = finish_task) then i may lost some data which is not expected.

My code is like that.

add 1 to start task if call FM subrc = 0.

add 1 to finish_task when inside the performing subroutine.

and check the wait until start_task = finished_task outside of the loop.

(i.e. Outside of loop i check , But the end_task value will increase inside the performing subroutine which i am checking in the main session, Will that value will pick when checking wait condition.)

How can i handle this scenario?

Another question:

Wait until V1 = V2 up to 1000 seconds.

About this statement if V1 = V2 after 50 seconds then it continues procesing OR if V1 = V2 found it still wait up to 1000 seconds?

Thanks,

Jo

Edited by: jowar saha on Oct 20, 2011 6:38 AM

Edited by: jowar saha on Oct 20, 2011 6:40 AM

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
867

Hello Jowar,

Can you provide a code snippet on how you're implementing the parallel processing?

Wait until V1 = V2 up to 1000 seconds.

About this statement if V1 = V2 after 50 seconds then it continues procesing OR if V1 = V2 found it still wait up to 1000 seconds?

The program flow is interrupted till the expression is incorrect & will resume the flow after the WAIT statement. If you use the UP TO addition, you can specify the maxm duration for which the program flow is interrupted. Exceeding which the program will continue after the WAIT statement even if the condition is not true.

I.e., in you case if V1 = V2 is true after 50s, the execution will continue after the WAIT stmt immediately else it'll wait for 1000s before continuing.

BR,

Suhas

1 REPLY 1
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
868

Hello Jowar,

Can you provide a code snippet on how you're implementing the parallel processing?

Wait until V1 = V2 up to 1000 seconds.

About this statement if V1 = V2 after 50 seconds then it continues procesing OR if V1 = V2 found it still wait up to 1000 seconds?

The program flow is interrupted till the expression is incorrect & will resume the flow after the WAIT statement. If you use the UP TO addition, you can specify the maxm duration for which the program flow is interrupted. Exceeding which the program will continue after the WAIT statement even if the condition is not true.

I.e., in you case if V1 = V2 is true after 50s, the execution will continue after the WAIT stmt immediately else it'll wait for 1000s before continuing.

BR,

Suhas