Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Hex Table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
josephineyeow

New User


Joined: 12 Mar 2020
Posts: 4
Location: USA

PostPosted: Thu Jun 18, 2020 7:26 pm    Post subject: Hex Table
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: 8550
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 18, 2020 7:46 pm    Post subject: Reply to: Hex Table
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: 4
Location: USA

PostPosted: Fri Jun 19, 2020 1:44 am    Post subject: Reply to: Hex Table
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Catalog table SYSSTATSFEEDBACK beikircherw DB2 2 Tue May 19, 2020 12:20 pm
No new posts Global temporary table Akriti Mishra DB2 1 Fri Apr 03, 2020 3:28 am
No new posts Export columns from DB2 table with pi... Nilanjan Sikdar DB2 14 Sun Mar 22, 2020 12:03 pm
No new posts LOAD JCL for db2 table, taking too lo... Somnath Giri DB2 5 Mon Oct 14, 2019 3:35 pm
No new posts Adding FIND to ISPF Panel display of ... Harold Barnes TSO/ISPF 3 Mon Oct 07, 2019 5:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us