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

Cobol Db2 program (inserting Char Equivalent of Hex string)


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mathura.abhi2010

New User


Joined: 26 Jan 2022
Posts: 1
Location: India

PostPosted: Wed Jan 26, 2022 8:58 pm
Reply with quote

I have a requirement where I am getting HEX string from API Request and want to store in DB2 CHAR field.
Using SPUFI am able to achieve this via using INSERT VALUES(X'hex-string') however in COBOL DB2 program how to do it and how to handle it with host variables.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts SQLCODE=-311 in Cobol SP-DB2. COBOL Programming 2
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
No new posts Inserting into table while open selec... DB2 1
No new posts Help with C character vs C string All Other Mainframe Topics 3
Search our Forums:

Back to Top