Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Packed decimal not converted accurately

$
0
0

Hi Experts

I am new in SAP Data Services and Community network.

 

I have an input file from mainframe that contains packed decimal, and their values are not converted accurately in Data Services.

 

This is a sample of input records that i have received from mainframe user. The packed decimal values are the ones with symbols

022014MTD04CIS            BA             008    i»%    ²o%

022014MTD04CIS            BA             010     ¸°    hÁ/@

 

I have uploaded the cobol copybook to data services,

01 REV_CTL_SUM.

10 RCM_REV_YR_MTH PIC X(6).

10 RCM_SUM_CD PIC X(3).

10 RCM_SUM_GRP_CD PIC X(2).

10 RCM_SUM_ID PIC X(30).

10 RCM_SUM_TRAN_CD PIC X(3).

10 RCM_SUM_CTL_QT PIC S9(13) COMP-3.

10 RCM_SUM_CTL_AM PIC S9(13)V9(2) COMP-3.

 

but when i view my result in Data Services, it is formatted correctly, but the numeric value is not matching with mainframe system

 

Data services sample result

022014 MTD 04 CIS            BA             008     6925     80326.26

022014 MTD 04 CIS            BA             010       380      6812.40

 

Actual mainframe expected result

022014 MTD 04 CIS            BA             008     89236     5803629.66

022014 MTD 04 CIS            BA             010       3213      88776.17

 

any advice why the data is not converted properly? i tried numerous code page, but the numbers doesn't change.

thanks experts in advance.


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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