View previous topic :: View next topic
|
Author |
Message |
blayek
New User
Joined: 04 Nov 2016 Posts: 5 Location: USA
|
|
|
|
Hi,
I would really be helpful if you can clear the cloud for START and CANCEL CICS statement.
In my work I can see there are some START with REQID statement and CANCEL of same REQID.
But there are some cases where CANCEL is called in the same program(Txn).
EXEC CICS CANCEL REQID ('ABCDEF') TRANSID ('AB12') NOHANDLE END-EXEC.
Then START
EXEC CICS START TRANSID ('AB12') INTERVAL (WS-START-INTERVAL) REQID ('ABCDEF') END-EXEC.
In SYSPELX environment how we can interpret this? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Code: |
EXEC CICS START TRANSID ('AB12') INTERVAL (WS-START-INTERVAL) REQID ('ABCDEF') END-EXEC. |
This tells CICS to start transaction AB12 at some point in the future (specified in the INTERVAL as hhmmss added to the current time when the START executes). Hence the CANCEL is preventing the AB12 transaction from executing. The CANCEL / START will prevent the transaction IF it is scheduled to execute, and then start the transaction using INTERVAL. |
|
Back to top |
|
|
|