As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Hello, we have just upgraded to a new version of DB2 (V.9 Conversion Mode) and we get an error in this part of program (before the migration this code was ok):
JOIN CLEAR *
DEFINE FILE TABLE1
VALUE1 /P11L = PERCENTAGE1 * 100000000;
DATA1 /YYMD = &&DATASK;
END
-*
TABLE FILE TABLE1
SUM MAX.VALUE1
BY FIELD1
BY FILED2
WHERE XXXX1 EQ '1'
WHERE DATAX LE DATA1
ON TABLE HOLD AS 'XXXXXXX1'
END
Error:
quote:
> (FOC1425) OVERFLOW, ZERODIVIDE OR CONVERSION ERROR ON ITEM £ : 3/MAX((T1."PERCENTAGE1" * 100000000)) (FOC1400) SQLCODE IS 802 (HEX: 00000322) (FOC1407) SQL FETCH CURSOR ERROR. : TABLE1 ERROR AT OR NEAR LINE 43 IN PROCEDURE XXXXX98FOCEXEC
The format of the field PERCENTAGE1 in the table is DECIMAL (11,8) and it is converted in the Master file as P13.8. The max value for the field is 100.
We have solved the problem in this way:
JOIN CLEAR *
DEFINE FILE TABLE1
VALUE1 /P13.8L = PERCENTAGE1;
DATA1 /YYMD = &&DATASK;
END
-*
TABLE FILE TABLE1
SUM MAX.VALUE1
BY FIELD1
BY FILED2
WHERE XXXX1 EQ '1'
WHERE DATAX LE DATA1
ON TABLE HOLD AS 'XXXXXXX1'
END
-*
DEFINE FILE XXXXXXX1
VALUE2 /P11L = VALUE1 * 100000000;
...................
...................
END
Should we check something in the Focus settings after the migration? We could have this error in other programs and we are wondering how we can fix this problem.
Thanks for any help!
Focus version: FOCUS 7.2.0S1 DB2 version for mainframe: V.9 OS: ibm mvs 390This message has been edited. Last edited by: Kerry,
1. Does your version FOCUS support this version of DB2 ?
I was not involved in the DB2 migration, but I think the system administrator has verified the compatibility. The Focus version for mainframe is 7.2.0S1 and the DB2 version is 9.0. At this moment,after the migration, we got only that problem and all the others focex run correctly.
quote:
2. Have you tried recreating the master ?
Not yet, I am not authorized. But after a migration, is it a best practice? There are a lot of master file to be recreated.