×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Birgitta,
Actually ROUND does not require 2 parameters.
Select Message_id, Message_type, severity, message_text,
round(severity * 1.23)
from table(qsys2.joblog_info('*')) a
;
Since qsys2.joblog_info is available at 7.1 since DB2 group ptf 32 you can
test it there.
http://ibm.biz/DB2foriServices
"If expression–2 is not specified, expression–1 is rounded to zero places
to the left of the decimal point."
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/db2/rbafzscaround.htm
Note: That is surrounded by change markers to indicate it's something of
a recent change.
Here's the gospel:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/DB2%20for%20i%20Functional%20Enhancements
What's new with IBM i 7.3
and IBM i 7.2 SF99702 Level 11,
and IBM i 7.1 SF99701 Level 40:
Expression-2 is optional
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/ROUND%28%29%20built-in%20function%20-%20enhanced
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.