diff. between delay and post-waitevent in cics



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

diff. between delay and post-waitevent in cics

Postby Vikrant Survase » Thu Jul 22, 2010 2:17 pm

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?
Vikrant Survase
 
Posts: 19
Joined: Fri Jun 04, 2010 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby dick scherrer » Thu Jul 29, 2010 3:17 am

Hello,

Delay is for an amount of time.

Post & wait is until a response is received.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

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

Postby Robert Sample » Thu Jul 29, 2010 3:21 am

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

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

Postby Vikrant Survase » Thu Jul 29, 2010 1:38 pm

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.
Vikrant Survase
 
Posts: 19
Joined: Fri Jun 04, 2010 9:08 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby NicC » Thu Jul 29, 2010 4:28 pm

Well, that seems pretty clear. What is your problem? Do you doubt the veracity of the documentation?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby dick scherrer » Fri Jul 30, 2010 4:28 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post