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.
JOIN INC_REPORT_NUMBER IN ISCDATA TO CRNUMBER IN VW_CALLS_FOR_SERVICE AS J3
Check your understanding of the JOIN statement.
T
Ok, I will do. Could you please provide me with the correct syntax to this
CNT.DST.CRNUMBER/I9C AS 'CASECNT3'
CRNUMBER IS A VARCHAR and I believe 'I9C' works with numbers, I tried CNT.DST.CRNUMBER/A8 AS 'CASECNT3', but am getting an error. What would be the correct syntax to count distinct Varchar variables. Thank you
I get the below error the field is not recognized:
(FOC003) THE FIELDNAME IS NOT RECOGNIZED: CASECNT3 BYPASSING TO END OF COMMAND (FOC009) INCOMPLETE REQUEST STATEMENT
Here is the new updated code:
TABLE
ON TABLE HOLD AS CALLS
END
TABLE FILE CALLS
SUM
CNT.DST.CASENUMBER/A8 AS 'CASECNT3'
BY EVENTNUMBER
ON TABLE HOLD AS CALLS FORMAT FOCUS INDEX CASENUMBER
END
SET ALL=ON
JOIN CAD_EMP_ID IN PSBASSGN TO CAD_EMP_ID IN OFFNSDAT AS J1
JOIN OFFNSDAT.CAD_EMP_ID IN PSBASSGN TO CAD_EMP_ID IN ISCDATA AS J2
JOIN INC_REPORT_NUMBER IN PSBASSGN TO CASENUMBER IN CALLS AS J3
DEFINE FILE PSBASSGN
APPROVAL_DATE1/YYMD = HDATE(APPROVAL_DATE,'YYMD');
DISPLAYDATE/YYMD=APPROVAL_DATE1;
END
TABLE FILE PSBASSGN
HEADING CENTER
"&SUB_ASG"
PRINT UPLASTNAME AS ''
CASECNT AS 'Cases'
CASECNT2 AS 'Pending'
CASECNT3 AS 'Overdue'
INC_REPORT_NUMBER NOPRINT
CAD_EMP_ID NOPRINT
COMPUTE RANDOM_FOR_DRILLDOWN/D9.6 = RDNORM(RANDOM_FOR_DRILLDOWN); NOPRINT
INCIDENT_ID NOPRINT
BY RANK_ORDER NOPRINT
BY RANK_ABRV AS ''
WHERE REGION_ABRV_CH EQ '&DIVISION';
WHERE SUB_ASSIGNMENT EQ '&SUB_ASG';
WHERE RANK_ABRV NE 'CPT' OR 'LT';