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

Hex Table


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

New User


Joined: 12 Mar 2020
Posts: 11
Location: USA

PostPosted: Thu Jun 18, 2020 7:26 pm
Reply with quote

Need Hex table defined in my cobol program. Don't see any way around it except to write program to propagate table. Any suggestions ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 18, 2020 7:46 pm
Reply with quote

Why not use VALUE X'...' as part of your PICTURE? COBOL has supported hexadecimal values for quite some time. If you don't think this will do, you'll need to explain more about what you want to do.
Back to top
View user's profile Send private message
josephineyeow

New User


Joined: 12 Mar 2020
Posts: 11
Location: USA

PostPosted: Fri Jun 19, 2020 1:44 am
Reply with quote

Decided to just write a small routine to create table with HEX values. hex table needed as cobol program is to perform different actions on different occurences of hex table. It's messy but it's got to be done. Thanks for your input.
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 Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top