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 » csq1logp utility

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 csq1logp utility « View previous topic :: View next topic » 
Author Message
giuly020277
PostPosted: Fri Mar 11, 2011 5:55 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

HMMMM....i think it's no so simple for me
Back to top
View user's profile Send private message
giuly020277
PostPosted: Fri Mar 11, 2011 6:19 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

i found this with google :

http://www-01.ibm.com/support/docview.wss?rs=114&uid=isg3T7000242

There is a PTS for dfsort (zos 1.10) and another for dfsort (zos 1.12) that add some new option (tran=atoe) to dfsort who allow conversion from ascii to ebcdic

Let's see
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Mar 11, 2011 6:24 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

giuly020277 wrote:
HMMMM....i think it's no so simple for me

But it is a wonderful learning opportunity.

Mangia!
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Mar 15, 2011 4:16 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

I've applied ptf uk90025 who add new ehnancement to dfsort (1.10).

one of these is conversion from ascii to ebcdic (tran=atoe) and from ebcdic to ascii (tran=etoa).

It seems to be very useful.

Ciao
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Mar 15, 2011 4:18 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

Last question :

someone can tell me why messages are not show within mqget command?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Tue Mar 15, 2011 5:00 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

There is no need to log the message when the mqget is done. The message has been logged on the mqput, so the content is known and can be "rebuild". The mqget just refers to the location the message has been put to.

If you want to verify that by CSQ1LOGP print output: On the MQPUT you find a subtype INSERT with the proper message (note the LRID). Now search for the LRID, and the next reference you find to LRID should be of subtype DELETE, thats the UOW that has MQGET (MQGOT ) the message.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
giuly020277
PostPosted: Mon Sep 19, 2011 11:37 pm    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

...about csq1logp

We work on zos 1.12 and websphere Mq foz zos 7.0.1.
There a batch job who put some messagges on a queue.
every put it commits them...and at the third message it get abend.
So i find only 2 messagges on queue.

If i see mq log...i don't find these 2 messagges. Why??Can someone help me?
In log i find all the other messages. Only these one No.
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Sep 20, 2011 2:25 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

here u see batch job i use with csq1logp program to extract Mq log :

//F3599U00 JOB CLASS=Q,MSGCLASS=Y
//STEP00 EXEC PGM=CSQ1LOGP
//STEPLIB DD DISP=SHR,DSN=PPPRODL.MQSERIES.SCSQANLE
// DD DISP=SHR,DSN=PPPRODL.MQSERIES.SCSQLOAD
//ARCHIVE DD DSN=MQPRODS.MFEPARC1.A0001796,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSSUMRY DD SYSOUT=*
//CSQBACK DD DSN=CMPRODS.MQSERIES.MFEP.BACKOUT,DISP=SHR
//CSQCMT DD DSN=CMPRODS.MQSERIES.MFEP.COMMIT,DISP=SHR
//CSQBOTH DD DSN=CMPRODS.MQSERIES.MFEP.BOTH,DISP=SHR
//CSQINFLT DD DSN=CMPRODS.MQSERIES.MFEP.INFLIGH,DISP=SHR
//CSQOBJS DD DSN=CMPRODS.MQSERIES.MFEP.OBJS,DISP=SHR
//SYSIN DD *
SUMMARY(ONLY)
EXTRACT(YES)
/*

It's possible that i don't find these 2 messages because batch job get abend although batch job have committed them?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Sep 20, 2011 2:30 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

giuly020277 wrote:
...every put it commits them...and at the third message it get abend.

Exactly what abend?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Sep 20, 2011 2:39 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

System abend 0cb (S0CB).

After putting 2 messagges programmer force

IF CTR-INPUT > 2
THEN
COMPUTE A = A/0
END-IF.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Sep 20, 2011 3:05 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

giuly020277 wrote:
It's possible that i don't find these 2 messages because batch job get abend although batch job have committed them?

How do you know that the batch job committed them?

S0cb is a decimal division error.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Sep 20, 2011 3:09 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

if i see batch sysout i see it :

================================================================================
** INIZIO PGM D58018R0 ** 20.09.2011 10:22:07:94

===========================================
PARAMETRI PASSATI:
QMGR - MFET
QNAME - TELEM.PROVA
===========================================
MQCONN COMPLETED
MQOPEN COMPLETED
MQPUT1 COMPLETED
MQCMIT COMPLETED
CTR-INPUT = 0000000001
MQPUT1 COMPLETED
MQCMIT COMPLETED
CTR-INPUT = 0000000002
CEE3211S The system detected a decimal-divide exception (System Completion Code=0CB) From compile unit D58018R0 at entry point D58018R0 at compile unit offset +0000552E at entry offset +0000552E at address 19705A06.


...and i found that 2 committed messages on queue
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Sep 20, 2011 3:19 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

giuly020277 wrote:
if i see batch sysout i see it :

================================================================================
** INIZIO PGM D58018R0 ** 20.09.2011 10:22:07:94

===========================================
PARAMETRI PASSATI:
QMGR - MFET
QNAME - TELEM.PROVA
===========================================
MQCONN COMPLETED
MQOPEN COMPLETED
MQPUT1 COMPLETED
MQCMIT COMPLETED
CTR-INPUT = 0000000001
MQPUT1 COMPLETED
MQCMIT COMPLETED
CTR-INPUT = 0000000002
CEE3211S The system detected a decimal-divide exception (System Completion Code=0CB) From compile unit D58018R0 at entry point D58018R0 at compile unit offset +0000552E at entry offset +0000552E at address 19705A06.


...and i found that 2 committed messages on queue


I'm confused. What you posted here tells me that there were 2 successful MQPUTs followed by 2 successful MQCMITs; then the abend. And that there were 2 messages in the queue.

What exactly is the problem? It seems that the application abended before the 3rd message was MQPUT.

Am I missing something?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Sep 20, 2011 3:23 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

yes...

If i use csq1logp program to search these 2 messages on Mq log....i don't find them.
Back to top
View user's profile Send private message
giuly020277
PostPosted: Tue Sep 20, 2011 3:28 am    Post subject: Reply with quote

Centurion

Joined: 07 Aug 2007
Posts: 146
Location: Florence,Italy

usually i use csq1logp to telll programmers that their messagges are been processed. If it doesn't works as well....it will be a problem for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » csq1logp utility
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.