I have a user who is trying to perform some calculations in the following  
DFSORT OUTREC statement: 

OUTREC=(1:29,44,X,                                                              
  
          (93,4,BI,MUL,+1024,DIV,+56664,DIV,+15),M1, 
          (101,4,BI,MUL,+1024,DIV,+56664,DIV,+15),M1,42X)

He is getting errors as the result of the DIV function is rounded down.

Is there any way to get the result rounded up if it is > .5, he has tried 
adding 0.5, but gets a syntax error on the decimal point.

Tim


       


____________________________________________________________________

This e-mail and any files transmitted with it are confidential and 
are only for the use of the person to whom they are addressed.

If you are not the intended recipient, you are hereby notified that 
any use, dissemination, forwarding, printing, copying or dealing 
in any way whatsoever with this e-mail is strictly prohibited.

If you have received this e-mail in error, please reply to us 
immediately and delete the document.

It is the recipient's duty to virus scan and otherwise test the 
enclosed information before using the information or loading 
attached files onto any computer system.  Adelaide Bank Ltd 
does not warrant that the information contained in this e-mail 
is free from viruses, defects, errors, interception or interference.

Any views expressed in this message are those of the individual 
sender, except where that sender specifically states them to be 
the views of Adelaide Bank Ltd.
____________________________________________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to