Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
What is meant by Runaway task in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
rahulbose

New User


Joined: 21 Feb 2005
Posts: 4

PostPosted: Sat Mar 05, 2005 10:15 am    Post subject: What is meant by Runaway task in CICS
Reply with quote

Hi,

What is meant by Runaway task in CICS.If it occurs how can we resolve it.
Back to top
View user's profile Send private message
References
PostPosted: Sat Mar 05, 2005 10:15 am    Post subject: Re: What is meant by Runaway task in CICS Reply with quote

mcmillan

Site Admin


Joined: 18 May 2003
Posts: 873
Location: India

PostPosted: Sat Mar 05, 2005 9:54 pm    Post subject: Re
Reply with quote

To understand what is Runaway tasks, you should know something about ICVR.

ICVR is a system initialization parameter in SIT that specifies the runaway task time interval in milliseconds as a decimal number. CICS purges a task if it has not given up control after this length of time (that is, if the task appears to be looping). The default value is 5000 milliseconds.

Quote:
What is meant by Runaway task?

If the time needed to execute a TASK is longer than the runaway task time interval (ICVR) parameter in the SIT, CICS assumes that the program is looping and terminates it with code AICA. This type of tasks are referred as RUNAWAY TASKS.

As explained earlier, an AICA abend occurs when CICS detects that an
application program is looping. Whether CICS considers a program to be
looping depends on the length of time that elapses between successive CICS commands.

Quote:
how can we resolve it?

CICS only resets a task's runaway time (ICVR) when a task is suspended. An EXEC CICS command cannot be guaranteed to cause a task to suspend during processing because of the unique nature of each CICS implementation. The runaway time may be exceeded causing a task to abend AICA. This abend can be prevented by coding an EXEC CICS SUSPENDcommand in the application This causes the dispatcher to suspend the task that issued the request and allow any task of higher priority to run. If there is no task ready to run, the program that issued the suspend is resumed.[b]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1