IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 8566
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 All times are GMT + 6 Hours
Forum Index -> COBOL Programming
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Need to read duplicate rows from tabl... DB2 3
No new posts Catalog table SYSSTATSFEEDBACK DB2 2
No new posts Global temporary table DB2 1
No new posts Export columns from DB2 table with pi... DB2 14
No new posts LOAD JCL for db2 table, taking too lo... DB2 5

Back to Top