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: 8696
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 Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top