Rounding in webfocus
Rounding in webfocus
(OP)
This syntax is throwing error in Webfocus.
TOT_DATA_VOL1/D13.4=ROUND(TOT_DATA_VOL/1024,4,'D13.4');
0 ERROR AT OR NEAR LINE 90 IN PROCEDURE mprm_irs_23716FOCEXEC *
(FOC263) EXTERNAL FUNCTION OR LOAD MODULE NOT FOUND: ROUND
As per my understanding , ROUND is not a system function in
WEBFOCUS version 7.7.03 ( version on Linux ) .On the contrary ,
it is a system function in FOCUS 6.9.04
As per my understanding , it cannot be gainsaid that ROUND needs to be defined as a
user defined function or variable needs to be implicitly rounded without using a function .
I am a newbie to focus/webfocus .
Please suggest on the root cause/solution in case the above approach is not in the right direction
TOT_DATA_VOL1/D13.4=ROUND(TOT_DATA_VOL/1024,4,'D13.4');
0 ERROR AT OR NEAR LINE 90 IN PROCEDURE mprm_irs_23716FOCEXEC *
(FOC263) EXTERNAL FUNCTION OR LOAD MODULE NOT FOUND: ROUND
As per my understanding , ROUND is not a system function in
WEBFOCUS version 7.7.03 ( version on Linux ) .On the contrary ,
it is a system function in FOCUS 6.9.04
As per my understanding , it cannot be gainsaid that ROUND needs to be defined as a
user defined function or variable needs to be implicitly rounded without using a function .
I am a newbie to focus/webfocus .
Please suggest on the root cause/solution in case the above approach is not in the right direction
RE: Rounding in webfocus
TOT_DATA_VOL1 /D13.4 = ROUND( (TOT_DATA_VOL / 1024), 4, TOT_DATA_VOL1);
Regards
RE: Rounding in webfocus
TOT_DATA_VOL1 /D13.4 = ROUND( (TOT_DATA_VOL / 1024), 4, TOT_DATA_VOL1);
Tried this but not working as ROUND is not system function in webfocus.
TOT_DATA_VOL4/P13.4 = TOT_DATA_VOL/1024;
But above is also giving same result as ROUND.