IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS START AND CANCEL


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
blayek

New User


Joined: 04 Nov 2016
Posts: 5
Location: USA

PostPosted: Wed Dec 07, 2016 3:27 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8574
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 07, 2016 3:41 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CICS webservice - Flexible Interface CICS 0
No new posts Prod parallel execution on mainframe ... CICS 1
No new posts COBOL/CICS Emulators CICS 4
No new posts Printing a dataset in DUMP format wit... ABENDS & Debugging 2
No new posts DFHLS2WS WSDL com.ibm.cics.wsdl.prope... CICS 0
Search our Forums:

Back to Top