ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Instead of the jobname we get always 'RRSBATCH' or 'BATCH'

Post new topic  Reply to topic
 Instead of the jobname we get always 'RRSBATCH' or 'BATCH' « View previous topic :: View next topic » 
Author Message
zicolino
PostPosted: Tue Aug 21, 2007 7:19 am    Post subject: Instead of the jobname we get always 'RRSBATCH' or 'BATCH' Reply with quote

Novice

Joined: 14 Feb 2007
Posts: 10

Hi all

In the WebSphere MQApplication Programming Reference Version 6.0 is following written:
Chapter 12. MQMD – Message descriptor
PutApplName (MQCHAR28)
This is the name of application that put the message, and is part of the origin context of the message.
The format of the PutApplName depends on the value of PutApplType.
When the queue manager sets this field (that is, for all options except MQPMO_SET_ALL_CONTEXT), it sets the field to a value that is determined by the environment:
- On z/OS, the queue manager uses:
– For z/OS batch, the 8-character job name from the JES JOB card
- ....

Why do we get instead of the real jobname always 'RRSBATCH' or 'BATCH' after the MQGET in the 'PutApplName'?
The applications don't set <origin context> at MQPUT time.

Many thanks
zicolino
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Aug 22, 2007 4:12 pm    Post subject: Reply with quote

Guest




This is documented "working as designed" on the MQ FAQs page:

http://www-1.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&context=SSWHKB&dc=DB520&q1=rrs&q2=jobname&uid=swg21227624&loc=en_US&cs=utf-8&lang=en

Problem
You are using CSQBRRSI stub in your batch application. The PutApplName field in the MQMD contains the value RRSBATCH instead of the jobname from the JES job-card.

Solution
Working as designed.
MQMD.PutApplName comes from the connection name. For applications using one of the RRS stubs (CSQBRSTB or CSQBRSSI), the connection name is 'RRSBATCH' and this is the value used for PutApplName.
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Instead of the jobname we get always 'RRSBATCH' or 'BATCH'
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.