Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     THE FIELDNAME IS NOT RECOGNIZED [SOLVED]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
THE FIELDNAME IS NOT RECOGNIZED [SOLVED]
 Login/Join
 
Gold member
posted
n/a

This message has been edited. Last edited by: QuickLearner,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 96 | Registered: October 13, 2014Report This Post
Expert
posted Hide Post
quote:
JOIN INC_REPORT_NUMBER IN ISCDATA TO CRNUMBER IN VW_CALLS_FOR_SERVICE AS J3

Check your understanding of the JOIN statement.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
quote:
Originally posted by Tony A:
quote:
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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 96 | Registered: October 13, 2014Report This Post
Virtuoso
posted Hide Post
quote:
JOIN INC_REPORT_NUMBER IN ISCDATA TO CRNUMBER IN VW_CALLS_FOR_SERVICE AS J3

It should be:
  
JOIN INC_REPORT_NUMBER IN PSBASSGN TO CRNUMBER IN VW_CALLS_FOR_SERVICE AS J3


quote:

CNT.DST.CRNUMBER/I9C AS 'CASECNT3'

What error did you get?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
quote:

What error did you get?

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';
 


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 96 | Registered: October 13, 2014Report This Post
Expert
posted Hide Post
1. Read the Manual



2. Read the Manual



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     THE FIELDNAME IS NOT RECOGNIZED [SOLVED]

Copyright © 1996-2020 Information Builders