View previous topic :: View next topic |
Author |
Message |
haqshaik Beginner
Joined: 11 May 2005 Posts: 49 Topics: 19
|
Posted: Fri Oct 21, 2005 9:59 am Post subject: Getting the TDQ name assigned to the MSGUSER dd name in CICS |
|
|
Hello Gurus,
How to get the the TDQ name assigned to the MSGUSER dd name in the CICS job, in a cobol progrm, so that the application related errors are routed to the MSGuser and the code can be reused irrespective of the installations.I am curious to know? Porbably routing the application errors to the MSGUser is not a good idea. please correct me, if I am wrong.
Thanks,
Salauddin |
|
Back to top |
|
|
haqshaik Beginner
Joined: 11 May 2005 Posts: 49 Topics: 19
|
Posted: Fri Oct 21, 2005 10:22 am Post subject: |
|
|
Hi,
Further adding to my previous post, I have written a small message to the TSQ CSSL and it appears in the MSGUSR log. Is the TSQ name CSSL is standard in all the shops?
Please clarify.
Thanks,
Salauddin |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
Manas Biswal Intermediate
Joined: 29 Nov 2002 Posts: 382 Topics: 27 Location: Chennai, India
|
Posted: Mon Oct 24, 2005 8:34 am Post subject: |
|
|
Quote: |
How to get the the TDQ name assigned to the MSGUSER dd name in the CICS job, in a cobol progrm, so that the application related errors are routed to the MSGuser and the code can be reused irrespective of the installations.I am curious to know? Porbably routing the application errors to the MSGUser is not a good idea. please correct me, if I am wrong.
|
That is done when defining the TDQ. While defining the TDQ, assign the ddname as MSGUSR. Following is a sample CEDA entry of a TDQ assigned to the MSGUSR -
Code: |
CEDC View TDqueue( CSSL )
TDqueue : CSSL
Group : DFHDCTG
DEscription : USED FOR MESSAGES
TYPE : Extra Extra | INTra | INDirect
EXTRA PARTITION PARAMETERS
DAtabuffers : 001 1-255
DDname : MSGUSR
DSname :
Sysoutclass :
Erroroption : Ignore Ignore | Skip
Opentime : Initial Initial | Deferred
REWind : Leave | Reread
TYPEFile : Output Input | Output | Rdback
RECORDSize : 00132 0-32767
BLOCKSize : 00136 0-32767
RECORDFormat : Variable Fixed | Variable
BLOCKFormat : Unblocked Blocked | Unblocked
Printcontrol : A | M
DIsposition : Shr Shr | Old | Mod
|
Quote: |
Further adding to my previous post, I have written a small message to the TSQ CSSL and it appears in the MSGUSR log. Is the TSQ name CSSL is standard in all the shops?
|
CSSL is used as a standard TDQ at most of the shops. But remember that it is also configurable. For example some shops may route CSSL to the MSGUSR indirectly. CSSL may be invoking another formatting transaction which may format the records before writing them to MSGUSR. But as far as I have seen, CSSL TDQ does directly or indirectly write to MSGUSR.
HTH...Regards,
Manas _________________ There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948) |
|
Back to top |
|
|
|
|