View previous topic :: View next topic |
Author |
Message |
smile_rajeev Beginner
Joined: 28 Oct 2005 Posts: 14 Topics: 9
|
Posted: Sat Nov 05, 2005 7:35 am Post subject: REG: PCT ENTRY |
|
|
thanks in advance.
Using PCT entry how many programs can we aassociate to a task. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Sun Nov 06, 2005 10:16 am Post subject: |
|
|
smile_rajeev,
Let me explain the concept of task and Transid and programs in relation to PCT.
A task is the basic unit of system activity that is managed by cics. The resources of the system, such as stirage and cpu cycles, are allocated among all the tasks in the system, using various strategies to optimize throughput and response time.
A task is an invocation of particular transaction. Transactions are identified to cics by a transaction identifier(transid) of 1-4 characters, listed in the program control table(PCT). A given transaction may be execueted many times during the course of a day, each execuetion is a different task.
Each transid listed in the PCT is associated with a program.when a transaction is invoked(by specifying its transid), it is a request to cics to execuete the associated program.
The primary function of the PCT is to register the control information of all CICS transactions. PCT contains a list of valid Trans-id paired with the name of a program CICS will load when the transaction is initiated with that transaction identifier. It identifies priority and security level (RSLC) of transaction.
The difference between transaction and task is that while several users may invoke the same transaction, each initiates a separate task.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Manas Biswal Intermediate

Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Mon Nov 07, 2005 10:02 am Post subject: |
|
|
smile_rajeev,
Quote: |
Using PCT entry how many programs can we aassociate to a task.
|
I think you meant -
Quote: |
Using PCT entry how many programs can we aassociate to a transaction.
|
The answer to that is just 1. But you can associate one program to multiple transactions using multiple PCT entries so that you can invoke the program by using any of the transactions.
Regards,
Manas _________________ There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948) |
|
Back to top |
|
 |
smile_rajeev Beginner
Joined: 28 Oct 2005 Posts: 14 Topics: 9
|
Posted: Mon Nov 14, 2005 4:52 am Post subject: |
|
|
Thanks kolusu and Manas Biswal for reply. |
|
Back to top |
|
 |
|
|