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.
-*COMPONENT=Define_prmwowf16 DEFINE FILE gwa_iseries/prmwowf16 CM_START_DT_FR/A8=PRMWOWF16.PRMWOWF16.WASTRT ; CM_START_DT_TO/A8= PRMWOWF16.PRMWOWF16.WASTRT ; END -DEFAULTH &WF_SUMMARY='Summary'; -DEFAULTH &WF_TITLE='WebFOCUS Report'; TABLE FILE gwa_iseries/prmwowf16 BY PRMWOWF16.PRMWOWF16.WADOCO BY PRMWOWF16.PRMWOWF16.WADL01 BY PRMWOWF16.PRMWOWF16.WAWR0901 BY PRMWOWF16.PRMWOWF16.WAANP01 BY PRMWOWF16.PRMWOWF16.WASTRT BY PRMWOWF16.PRMWOWF16.WBSRDS BY PRMWOWF16.PRMWOWF16.WAANSA BY PRMWOWF16.PRMWOWF16.WAANSA01 BY PRMWOWF16.PRMWOWF16.WASRST WHERE PRMWOWF16.PRMWOWF16.WADCTO EQ 'WO'; WHERE PRMWOWF16.PRMWOWF16.WASRST LT '75'; WHERE PRMWOWF16.PRMWOWF16.WAWR0901 EQ &WAWR0901.(OR(<.>,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |FORMAT=A30)).Village:.; WHERE CM_START_DT_FR GE &CM_START_DT_FR. (|FORMAT=A8).From Start Date MM/DD/YY.QUOTEDSTRING; WHERE CM_START_DT_TO LE &CM_START_DT_TO. (|FORMAT=A8).To Start Date MM/DD/YY.QUOTEDSTRING; ON TABLE SUBHEAD "Permits Open Work Order" ON TABLE PCHOLD FORMAT &WFFMT.(,,,,,,,,).Select an output type.
ON TABLE NOTOTAL ON TABLE SET CACHELINES 100 ON TABLE SET PAGE-NUM NOLEAD ON TABLE SET SQUEEZE ON ON TABLE SET HTMLCSS ON ON TABLE SET HTMLENCODE ON ON TABLE SET EMPTYREPORT ON ON TABLE SET GRWIDTH 1 ON TABLE SET STYLE * INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENTeal_Light1.sty,$ TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, SUMMARY=&WF_SUMMARY.QUOTEDSTRING, HFREEZE=OFF, $ TYPE=TABHEADING, LINE=1, JUSTIFY=CENTER, $ TYPE=TABHEADING, LINE=1, ITEM=1, OBJECT=TEXT, SIZE=12, STYLE=BOLD+ITALIC, $ ENDSTYLE END
You are comparing alphanumeric values not dates, so 10/04/16 does indeed fall between 10/01/15 and 10/30/15.
If you want proof of this then enter the following into MS Excel and then sort as TEXT. Be sure to include the leading single quote -
'10/01/15
'10/30/15
'10/04/16
To be effective when managing selections like this, you really need to convert the alpha values to proper dates. The only problem when using an RDBMS is that sometimes the clause does not get converted to SQL and so it can be inefficient. So choose your conversion function with care!
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, 2004