Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS START AND CANCEL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS START AND CANCEL
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: 8359
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 07, 2016 3:41 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Error while initiation CICS program f... Ashishpanpaliya CICS 3 Mon Jul 16, 2018 5:12 pm
No new posts CICS startup problem John Poulakos CICS 3 Tue Jun 12, 2018 9:08 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us