I'm trying to start a transacton via START command. Let's say, program A start transaction TXNB via CICS START command.
but How can program A know whether TXNB has been succeefully STARTed?
At the very beginning , I suppose this can be verified by checking response code of START command, but after I consulted the CICS command manual, it says below, and things become more complicated.
START failures without exception conditions
In some circumstances, a START command runs without error, but the started task
never takes place:
v When the transaction or its initial program is unavailable at the time CICS
attempts to create the task.
v When the START specifies a terminal and an expiration time, and the terminal is
not defined (and cannot be located by the XICTENF or XALTENF exits) at
v When the START specifies a terminal that is not defined (and cannot be located
by the XICTENF or XALTENF exits) at the time CICS attempts to create the task.
so, How to determine if a transaction has been successfully STARTed?
Joined: 06 Jun 2008 Posts: 8449 Location: Dubuque, Iowa, USA
What part of the manual quote you posted do you not understand? The manual is telling you that, under certain circumstances, it is not possible to determine if the transaction has been successfully started -- period.
The answer to your question is that you cannot always determine if a CICS transaction has been successfully STARTed.