IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Convert a VarBinary to a VarChar in DB2


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
xtang

New User


Joined: 16 Feb 2007
Posts: 2
Location: U.S.A

PostPosted: Fri Oct 12, 2007 12:27 am
Reply with quote

I have a field is defined as Varchar Binary in DB2 V8 database and I would like to run a query to retrieve the data from that field into readable data. Anyone knows how to use a simple query to do that instead of writing a COBOL program to do inspect?

Thanks in advance
Sharron
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sat Oct 13, 2007 2:08 am
Reply with quote

Hello,

What happens if you run a query including this field in youjr SELECT in SPUFI?

Is the data visable?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Converting VARCHAR to XML DB2 1
No new posts Convert CSV to flat file. DFSORT/ICETOOL 6
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
No new posts Convert Service Unit to CPU Seconds All Other Mainframe Topics 1
No new posts CONVERT a given date from UTC TO BST CICS 0
Search our Forums:


Back to Top