ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Equivalent code for esql in java

Post new topic  Reply to topic
 Equivalent code for esql in java « View previous topic :: View next topic » 
Author Message
NAIDU
PostPosted: Sat Sep 16, 2017 8:50 am    Post subject: Equivalent code for esql in java Reply with quote

Novice

Joined: 12 Jan 2016
Posts: 17

Hi All,
I am struggling to write the code in Java compute node for below esql

This is esql which is working fine

DECLARE Msgreq CHARACTER;
DECLARE ReqMsg BLOB;

SET Msgreq = 'sample data for request ';

-- Convert the CICS Request string from ASCII to EBCDIC
SET ReqMsg = CAST(Msgreq as BLOB CCSID 500);

SET OutputRoot.BLOB.BLOB = ReqMsg;

How can we write the same code in java compute node.

Can you please help in this . I tried in different ways
Back to top
View user's profile Send private message
timber
PostPosted: Mon Sep 18, 2017 12:31 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
Can you please help in this . I tried in different ways
Please tell us what you tried, and what happened.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Equivalent code for esql in java
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.