MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getting the TDQ name assigned to the MSGUSER dd name in CICS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
haqshaik
Beginner


Joined: 11 May 2005
Posts: 49
Topics: 19

PostPosted: Fri Oct 21, 2005 9:59 am    Post subject: Getting the TDQ name assigned to the MSGUSER dd name in CICS Reply with quote

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
View user's profile Send private message
haqshaik
Beginner


Joined: 11 May 2005
Posts: 49
Topics: 19

PostPosted: Fri Oct 21, 2005 10:22 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Sat Oct 22, 2005 8:17 am    Post subject: Reply with quote

haqshaik,

You can get the TDQ details using CEMT Inquire TDQUEUE

check this link which explains in detail about CEMT INQUIRE TDQUEUE

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHA7P03/11.53?DT=20021018154625

Simlarly check this link which explains in detail about CEMT INQUIRE TSQUEUE / TSQNAME

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHA7P03/11.59?DT=20021018154625

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Mon Oct 24, 2005 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group