473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

MQSEND on z/OS and DB2

Hello,
i have the following problem:
the MQREAD works fine but the MQSEND returns an ERROR:

SELECT DB2MQ2C.MQREAD('Q.DS.ODS869L.1')
FROM SYSIBM.SYSDUMMY1
;

01DS869D662005060310570520050603105705

DSNE610I NUMBER OF ROWS DISPLAYED IS 1
DSNE612I DATA FOR COLUMN HEADER COLUMN NUMBER 1 WAS TRUNCATED
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 100

i used the following SQL with an Error:

SELECT DB2MQ2C.MQSEND('Q.DS.ODS869L.1',
'DB2.DEFAULT.POLICY',
'TESTING 123',
'1234567')
FROM SYSIBM.SYSDUMMY1
;

DSNE610I NUMBER OF ROWS DISPLAYED IS 0
DSNT408I SQLCODE = -443, ERROR: EXTERNAL FUNCTION MQSEND (SPECIFIC NAME
MQSND4) HAS RETURNED AN ERROR SQLSTATE WITH DIAGNOSTIC TEXT
rc=406:amSesCreateSender
DSNT418I SQLSTATE = 38H01 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXRRTN SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -891 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFC85' X'00000000' X'00000000' X'FFFFFFFF'
X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION
DSNE610I NUMBER OF ROWS DISPLAYED IS 0
DSNT408I SQLCODE = -443, ERROR: EXTERNAL FUNCTION MQSEND (SPECIFIC NAME
MQSND4) HAS RETURNED AN ERROR SQLSTATE WITH DIAGNOSTIC TEXT
rc=406:amSesCreateSender
DSNT418I SQLSTATE = 38H01 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXRCUF SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -891 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFC85' X'00000000' X'00000000' X'FFFFFFFF'
X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION
---------+---------+---------+---------+---------+---------+---------+---

what is wrong?

--
cu
kai
Nov 12 '05 #1
0 2072

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Abram Friesen | last post by:
Hi, I'm running (evaluating) DB2 8.1.6 on AIX 5.2. I just installed MQ AMI, and enabled MQ Functions for DB2. I then set up my own queue (QACF1) via runmqsc. However, trying to send to that...
2
by: Philip Nelson | last post by:
Folks, I'm wondering if anyone out there actually has a working implementation of the MQ SQL functions, and if so if they can offer some advice to a poor struggling MQ novice. I've got MQ set...
1
by: Hai Nguyen | last post by:
Hello everyone I'm trying to use the namespace using System.Messaging. My Visual Studio.Net could not recognize this namespace. Should I have to install a plug in or what should I do to have this...
8
by: Brian Tkatch | last post by:
Server: DB2/SUN 8.1.6 Client: DB2 Connect Personal Edition (No 11) <URL:ftp://ftp.software.ibm.com/ps/products/db2/fixes2/english-us/db2winIA32v8/fixpak/FP11_WR21365/FP11_WR21365_CONPE.exe> ...
0
by: THOMASB | last post by:
Hi! Problems, problems problems :-( I´m trying to update a table in DB2 (z/OS) version 8 using a 3:rd party SQL tool(AQT). About 300 rows are affected by the update. There is an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.