Solved

Sending Hex 25 value along with a string from vb app to mainframe app

Posted on 2004-09-12
5
868 Views
Last Modified: 2012-05-07
Hi,

My VB dll interacts with Mainframe via IBM Mqseries queues.
On the mainframe side along with a string it expects HEX25 value at the end of the string.
I dont know how to send this value to main frame.

From my app I need to send  "*GDSTOP" & HEX25
I tried   "*GDSTOP" & vbcr
I tried  "*GDSTOP" & vbcrlf
I also tried "*GDSTOP" & HEX$(25)

None worked. Mainframe did not recognize HEX$(25) value.

How can I send HEX25 value as a string from VB so that on main frame side it takes as
HEX 25.

Thanks,
Suresh
0
Comment
Question by:sureshpodaralla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 19

Accepted Solution

by:
Shauli earned 63 total points
ID: 12040949
If I get you right, then the dec equivalent to Hex 25 would be 37. So if the other ends needs hex 25, try to send Hex(37).

S
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 62 total points
ID: 12041446
Try:
 "*GDSTOP" & Chr$(&H25)
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question