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.
What should not have worked did! FOCMAGIC?! It was missing another set of parens around the function. This is code that from 5.2.5 Thanks for all of your help everyone.
MODCCD/YYMD = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' THEN (HDATE(CLSD_D,'YYMD')) ELSE '19000101'; ClaimClosedDate/MDYY = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' THEN (HDATE(CLSD_D,'MDYY')) ELSE '0' ; -***************************************** This is a DEFINE that we have in a Reporting Object. It causes an agent to crash. Unknown error occurred. Agent on reporting server AIXSERVE may have crashed or request was halted by the operator. Please investigate reporting server log. The first DEFINE runs w/out error. The second DEFINE crashes an agent ONLY when it is run in the Reporting Object. We are going against Oracle data via PeopleSoft on an AIX box. Outside of Reporting Object flawless.
DEFINE FILE CSICEDEDLOSSDATA ClaimClosedDate/MDYY = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' THEN HDATE(CLSD_D,'MDYY') ELSE 0 ; -***** MODCCD/YYMD = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' THEN HDATE(CLSD_D,'YYMD') ELSE '19000101'; END
We have a ticket open with IBI but was wondering if anyone has experienced this odd behavior. Oh by the way, this is a migration of MRE from 7.1.6 to 7.7.03. Feel my pain... LOL
RhondaThis message has been edited. Last edited by: Rhonda,
WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007
The data types of the DEFINE fields and some of the values you're attempting to assign to them don't seem to be compatible.
What would happen if you did this:
DEFINE FILE CSICEDEDLOSSDATA
ClaimClosedDate/MDYY MISSING ON = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' THEN HDATE(CLSD_D,'MDYY') ELSE MISSING ;
-*****
MODCCD/YYMD = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' THEN HDATE(CLSD_D,'YYMD') ELSE DATECVT('19000101','A8YYMD','YYMD');
END
That way your fields will always receive a valid DATE value, or MISSING when applicable.
The format of CLSD_D is date/time The following worked for us. NOTE: The extra parens aroung the HDATE function. Crazy!
MODCCD/YYMD = IF (CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P') THEN (HDATE(CLSD_D,'YYMD')) ELSE '19000101'; ClaimClosedDate/MDYY = IF CLAIMSTATUS EQ '2' OR '4' OR '6' OR '8' OR 'CCNP' OR 'CLSD' OR 'CLSD-P' -* THEN HDATE(CLSD_D,'MDYY') ELSE '0' ;
WebFOCUS & ReportCaster 8.1.05, 7.7.03 - AIX/LINUX, FOCUS 7.6.13 MVS, Output PDF, XLS-XLSX, DOCX and HTML
Posts: 146 | Location: Atlanta, GA | Registered: May 31, 2007
you've got quotes around the ELSE value on the MODCDD alternative. '19000101' That means its ALPHA. that's never gunna work. Take the quotes off, and it should work; Better, do what New Jersey says.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003