Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

long task and its program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
william.kangweiliang

New User


Joined: 26 Sep 2008
Posts: 22
Location: China

PostPosted: Mon Oct 12, 2009 12:25 pm    Post subject: long task and its program
Reply with quote

Dear all,

I have some question about long task in CICS and it's bind program.

1) what's the working flow between long task and its pgm?
EG: The task will be startup when the cics is started. and Its pgm is invoked as well. then when the pgm go to a return CICS command. What will happen? the task will be invoked once more and the program will go from the top again? or something else?

2)what's the time will be remarked on the prgram's use parameter ('Use(0000000643)')? once or the actual time the program runs?

thx a lot!
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 991
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Oct 12, 2009 4:35 pm    Post subject:
Reply with quote

A task will start at CICS startup if that's what's specified in a PLTPI program. Otherwise it can be started by a variety of means - Terminal Input, via DCT triggering, MQ triggering, etc.

When EXEC CICS RETURN is executed, the task ends. At this point, program Use is 1. This is a use counter, not a timestamp. It counts the number of times the program has been used.

Something else must happen to start another instance of the task. Each new instance of the task will increment the program Use (counter) by 1 and will 'start from the top'.

Garry.
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us