Interview Questions   Tutorials   Discussions   Programs   

CICS - What is the difference between the NOHANDLE option and the IGNORE condition?

asked mar August 19, 2014 11:10 AM  

What is the difference between the NOHANDLE option and the IGNORE condition?


1 Answers

answered By Mswami   0  

You can use the NOHANDLE option with any command to specify that you want CICS to take no action for any condition or attention identifier (AID) that results from the running of the command.

The NOHANDLE option covers all conditions that can occur for the commands on which you have specified NOHANDLE; the IGNORE CONDITION command covers specified conditions for all commands (until you change its effect by specifying a HANDLE CONDITION command that names one or more of these conditions).

You must be careful when using NOHANDLE with the RECEIVE command, because NOHANDLE overrides the HANDLE AID command in addition to the HANDLE CONDITION command, with the result that CICS ignores PF key responses.


IGNORE CONDITION specifies that no action is to be taken when named conditions occur.

No more than 16 conditions are allowed in the same IGNORE CONDITION command; you must specify additional conditions in further commands.

If one of the named conditions occurs, control returns to the instruction that follows the command that has failed to complete, and the EXEC Interface Block (EIB) is set.

You must ensure that the IGNORE CONDITION command is executed before the command that might cause the associated condition. Note that the IGNORE CONDITION command for a given condition applies only to the program in which it is specified, and it remains active while the program is running, or until a HANDLE CONDITION command for the same condition is encountered, in which case the IGNORE CONDITION command is overridden. Also, a PUSH HANDLE command suspends the effect of an IGNORE CONDITION until a corresponding POP HANDLE is encountered at the same link level.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!