Search found 2 matches

by Deepak Mahant
Sat Jun 13, 2015 5:33 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: SORT card for addition.
Replies: 9
Views: 1113

Re: SORT card for addition.

The original equation is from the "requirement document" but that can be done in cobol program, at least that what is assumed. But we thought to do it in sort as well. So William that's not a Cobol code but I needed some direction to achieve it in sort.
by Deepak Mahant
Wed Jun 10, 2015 2:06 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: SORT card for addition.
Replies: 9
Views: 1113

SORT card for addition.

Hi, In a COBOL program I have this calculation: NBR-A = TRUNC((variable-x / variable-y) + 0.5 ) The question is, can I do this using SORT? Please suggest on this. I tried the following: OUTREC BUILD=(1:1,22,((17,3,ZD,DIV,20,3,ZD),ADD,+0.5)) And OUTREC BUILD=(1:1,22,((17,3,ZD,DIV,20,3,ZD),ADD,(+50,DI...

Go to advanced search