giligili
New User
Joined: 07 Jun 2007 Posts: 2 Location: Spain
|
|
|
|
I've solved my problem.
My problem was that I needed two divide two numbers of a record, and keep up to 7 decimal digits. Because I needed a result with this PIC= 9(5)V9(7)
example:
Code: |
200037639812345 123452234567890
|
And if I just use the DIV operator:
Code: |
OUTREC BUILD=((1,15,ZD,DIV,17,15,ZD),TO=ZD,LENGTH=12)
|
I obtained this result:
In the end, I've solved this multiplying one number by 10000000 before dividing.
Code: |
OUTREC BUILD=(((1,15,ZD,MUL,+10000000),DIV,17,15,ZD),TO=ZD,LENGTH=12)
|
and I'm obtaining the result that I need:
Thanks for the help. |
|