With the following RPGILE instruction I receive the message: The target for a numeric operation is too small to...
hold the result (RNQ0103). When the result contains too many digits for the receiving field. Eval(RH) Result = Amount / Divider. I thought that option (R) in eval could handle the truncation, but not at all. Is there a way to allow this truncation?
Sometimes, old ways work best:
FMT C CL0N01Factor1+++++++Opcode&ExtFactor2+++++++Result++++++++ 0070.01 C Amount Div(h) Divider Result
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Search400's targeted search engine: Get relevant information on RPGILE.
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.