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
 
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

Senior Member


Joined: 08 May 2006
Posts: 1002
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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts Task initiating SSHD vasanthz All Other Mainframe Topics 1 Tue Nov 14, 2017 3:03 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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