Solved

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

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month9 days, 5 hours left to enroll

617 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