View previous topic :: View next topic
|
Author |
Message |
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
Hi,
I have a question on TD queues.
extraparition queues has its destination IDs defined in DCT where as intrapartion is a VSAM with all the queues defined
my question is
1) How to distinguish b/w extraparition and intrapartion queues by looking a program and which one is best useful
2) Queue names should be given in DCT for extrapartion but how queue names are generated for intrapartion, Is it like 16 char Unique IDs generated thru program for TS queues?
3) Will there be any standard name for VSAM file or system programmer will define?
4) Each destination in extrapartition is a sequential file how to create/define this file? Is it thru CEBR?
I tried to get answers for these by manuals but did not get.
Can anyone share answers for the above questions or a link to manual will be useful for me. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Going by the questions, you seriously need to review the CICS manuals. Your grasp of intra/extra-partition seems flawed.
Quote: |
extraparition queues has its destination IDs defined in DCT where as intrapartion is a VSAM with all the queues defined
|
No, both are defined via DCT. Extrapartition references ddnames whereas intrapartition are written to the DFHINTRA VSAM dataset.
Quote: |
1) How to distinguish b/w extraparition and intrapartion queues by looking a program and which one is best useful |
You can't distinguish between them at program source level. Which type you use is totally application-dependent. There is no "best useful" - it depends on the application.
Quote: |
2) Queue names should be given in DCT for extrapartion but how queue names are generated for intrapartion, Is it like 16 char Unique IDs generated thru program for TS queues?
|
Queue names for both are in DCT and are constrained to 4 characters. You may be confusing the TD queue with TS queue - they are completely different animals!
Quote: |
3) Will there be any standard name for VSAM file or system programmer will define?
|
The intrapartition TD dataset is DFHINTRA - you don't have a choice. Extrapartition TD queues can be called whatever you like in the JCL.
Auxiliary Temporary Sortage (TS) dataset is DFHTEMP - again, no choice.
Quote: |
4) Each destination in extrapartition is a sequential file how to create/define this file? Is it thru CEBR?
|
No, it's not thru CEBR. Define the dataset in the same way you define any other dataset. For these, you probably want to allocate with IEFBR14 or some other such means before starting your CICS region.
Garry. |
|
Back to top |
|
|
murugan_mf
Active User
Joined: 31 Jan 2008 Posts: 148 Location: Chennai, India
|
|
|
|
Thank you! Garry for your detailed answers |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Programatically, you can determine whether the target TDQ is Intrapartition or Extrapartition.
Review the EXEC CICS INQUIRE TDQUEUE keyword "TYPE", API, in your applicable "System Programming Reference" manual. You define TYPE as a WS binary-fullword and then check the results using CVDA/DFHVALUE.
Note that the translator option "SP" must be used during the translation step. In some shops, this option can't be used so you need to verify its usage with your management personnel beforehand.
Bill |
|
Back to top |
|
|
|