Solved

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

Posted on 2004-09-12
5
862 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

930 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now