Re: problem send binary message nt > os/390 #2

2003-01-15 Thread Jim Ford
We had a similar problem, right down to the x'7F's. It turned out that
it wasn't MQSeries that was doing the translation. Instead, it was
because the VB program read in the file before writing it to the
queue, and the way it read it caused VB to translate the input file
into 2-byte Unicode. Some of the characters in the PDF file aren't
valid Windows characters, so they were instead stored in Unicode as a
x'7F'.

This is the kind of code they're using now to read the file:

  Dim nFNo As Integer
  Dim PdfData() As Byte

  nFNo = FreeFile
  Open "M:\TEST.PDF" For Binary Access Read As #nFNo
  ReDim PCLData(0 To LOF(nFNo) - 1)
  Get #nFNo, , PCLData

Then, to put the message:

For i = 0 To (LOF(nFNo) - 1)
  MsgO.WriteUnsignedByte (PdfData(i))
  Next i
OQ.Put MsgO, PMO



   

  deborah damore   

   cc: 

  Sent by: MQSeriesSubject:  problem send binary message 
nt > os/390 #2
  List 

   

   

   

  01/15/2003 07:37 

  AM   

  Please respond to

  MQSeries List

   

   





Heres  info on my environment

XP pro, mqseries client 5.1

Os/390 2.1 mqsersies 5.3

I am trying to send a pdf as the content of a mq message from NT to
os/390, a os/390 process needs to pick the message up unconverted. The
problem is some characters are getting converted in the message ie
X'85' changes to a X'7F'.

I am sending the message with a blank format, default encoding, I have
tried several codesets includeing 0 to no advail.

What am I missing?

Thanks!!!.


Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: problem send binary message nt > os/390 #2

2003-01-15 Thread David C. Partridge
But Deborah specifically said that the message format was set to MQFMT_NONE
(well actually she said blank, but that's the same), so no conversion should
apply.   I suspect some form of application error reading or writing the
file (e.g. file read as text rather than binary).

Dave

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: problem send binary message nt > os/390 #2

2003-01-15 Thread Potkay, Peter M (PLC, IT)
"...a os/390 process needs to pick the message up unconverted"


Insure that the mainframe is not specifying MQGMO-CONVERT.




Peter Potkay
IBM MQSeries Certified Specialist, Developer
[EMAIL PROTECTED]
X 77906


-Original Message-
From: Rick Tsujimoto [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 9:55 AM
To: [EMAIL PROTECTED]
Subject: Re: problem send binary message nt > os/390 #2


You could try setting the CCSID in the message to that of your QMGR on
OS/390.  When MQ sees that the there's no difference in the CCSID, it
should bypass any conversion attempts.





  deborah damore

  cc:

  Sent by: Subject: problem send binary
message nt > os/390 #2
  MQSeries List

  





  01/15/2003 08:37

  AM

  Please respond

  to MQSeries List








Heres  info on my environment

XP pro, mqseries client 5.1

Os/390 2.1 mqsersies 5.3

I am trying to send a pdf as the content of a mq message from NT to os/390,
a os/390 process needs to pick the message up unconverted. The problem is
some characters are getting converted in the message ie X'85' changes to a
X'7F'.

I am sending the message with a blank format, default encoding, I have
tried several codesets includeing 0 to no advail.

What am I missing?

Thanks!!!.



Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: problem send binary message nt > os/390 #2

2003-01-15 Thread Rick Tsujimoto
You could try setting the CCSID in the message to that of your QMGR on
OS/390.  When MQ sees that the there's no difference in the CCSID, it
should bypass any conversion attempts.



   

  deborah damore   

  cc: 

  Sent by: Subject: problem send binary message nt 
> os/390 #2 
  MQSeries List

  

   

   

  01/15/2003 08:37 

  AM   

  Please respond   

  to MQSeries List 

   

   




Heres  info on my environment

XP pro, mqseries client 5.1

Os/390 2.1 mqsersies 5.3

I am trying to send a pdf as the content of a mq message from NT to os/390,
a os/390 process needs to pick the message up unconverted. The problem is
some characters are getting converted in the message ie X'85' changes to a
X'7F'.

I am sending the message with a blank format, default encoding, I have
tried several codesets includeing 0 to no advail.

What am I missing?

Thanks!!!.



Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive