Page 1 of 1

diff. between delay and post-waitevent in cics

PostPosted: Thu Jul 22, 2010 2:17 pm
by Vikrant Survase
hi
wht is diff. between delay & 'post and waitevent'?
as both suspends the task for specific time or interval,so whts the diff and which one is better & why?

Re: diff. between delay and post-waitevent in cics

PostPosted: Thu Jul 29, 2010 3:17 am
by dick scherrer
Hello,

Delay is for an amount of time.

Post & wait is until a response is received.

Re: diff. between delay and post-waitevent in cics

PostPosted: Thu Jul 29, 2010 3:21 am
by Robert Sample
Each is better, depending on what you need to do. Without a concrete example of what the task is, no one can tell you one is better than the other because which is better depends upon what you're trying to accomplish.

Re: diff. between delay and post-waitevent in cics

PostPosted: Thu Jul 29, 2010 1:38 pm
by Vikrant Survase
dick scherrer wrote:Hello,

Delay is for an amount of time.

Post & wait is until a response is received.


would u explain wth example ,bcoz in both we have to use either time interval or specific time.
acording to my info. post&wait is use to call another task and suspend the task in which its is written until the given time interval.
while delay only suspends the task in which it is written.
am i correct.

Re: diff. between delay and post-waitevent in cics

PostPosted: Thu Jul 29, 2010 4:28 pm
by NicC
Well, that seems pretty clear. What is your problem? Do you doubt the veracity of the documentation?

Re: diff. between delay and post-waitevent in cics

PostPosted: Fri Jul 30, 2010 4:28 am
by dick scherrer
Hello,

Suggest you post "your info" and maybe we can resolve the confusion. Hopefully, your info is from standard IBM CICS documentation. . .

If you post what you found and your doubt, someone here should be able to clarify. . .