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: 995
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 IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... gpowell382 IDMS/ADSO 2 Fri Jun 30, 2017 11:52 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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