Quantcast
Channel: RM COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 207

Leading Zeroes Truncate for Packed Decimals Variable

$
0
0
Hi all,
 
Our customer Bata facing an issue on Leading zeroes being truncated for packed decimal variable when view tables using Relativity Designer. 
 
For example :
 
Variable Define in COBOL as :
 
  • 01 WS-NUM  PICTURE 9(7) COMP-3.
When Create Table in Relativity , the column defined as :
 
  • WSNUM INTEGER
The value from data file is '0001234' but when view using the relativity designer the value shown as '1234'.
 
The result that customer required is '0001234' when viewing using Designer.
 
I have try the redefinition option in Relativity Designer but its  not giving me the correct value. Is the any way to define with relativity to avoid the truncation? Can help to provide me steps? Thanks all.
 

Viewing all articles
Browse latest Browse all 207

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>