Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: RE: Performing arithmetic on input field

$
0
0
Author: zh_lad
Posted: Fri Jan 06, 2017 3:29 pm (GMT 5.5)

Hi Arun,

Thanks for your help so far. One last query. Is there a way I can do this calculation in INREC using multiple BUILD as I want to use the OUTREC to present data differently.

Currennt output is 468.

I want to stick right most digit (8 in this case) to original input value. In this case, my final output should be:
5187910410700698

This algorithm will be used on an input file to calculate check digit (Luhn algorithm).

Thanks.


Viewing all articles
Browse latest Browse all 8500

Trending Articles