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.
Issue : Using a calendar control select a date in mm/dd/yyyy format. Default the date to current date. Pass the parameter in to a DEFINE subtracting 3 business days. Select all master file records whose AS_OF _DATE is within the date range (original input parameter date thru parameter date less 3 business days.
DEFINE FILE FUND_DYNAMIC -*Set up master date for compare date time stamp DATE/HMDYY=AS_OF_DATE; DATE_TEST1/HYYMD = AS_OF_DATE; DATE_TEST/YYMD = HDATE(AS_OF_DATE, 'YYMD'); -*redefine date parameter to yymd form at for subtraction and comaprison INDATE_REDEF/MDYY = &INDATE; INDATE_CVT/YYMD = DATECVT(INDATE_REDEF,'MDYY','YYMD'); INDATE_LESS3/YYMD = DATEADD(INDATE_CVT,'BD',-3); END
TABLE FILE FUND_DYNAMIC
PRINT INDATE_REDEF AND INDATE_CVT AND INDATE_LESS3 AND AS_OF_DATE AND DATE_TEST AND DATE_TEST1 AND DATE IF READLIMIT EQ 1 END
Problems: In the value property of the calendar control what returns the current date When I set the value property to 07282008 as the calendar control does not show the date as 07/28/2008 but as 07282008. The defines produce the desired result:
When I set the value property to 07/28/2008 as the calendar control does show the date as 07/28/2008 but the defines do not produce the desired result: The parameter is accepted. DEFINE FILE FUND_DYNAMIC DATE/HMDYY=AS_OF_DATE; DATE_TEST1/HYYMD = AS_OF_DATE; DATE_TEST/YYMD = HDATE(AS_OF_DATE, 'YYMD'); INDATE_REDEF/MDYY = 07/28/2008; INDATE_CVT/YYMD = DATECVT(INDATE_REDEF,'MDYY','YYMD'); INDATE_LESS3/YYMD = DATEADD(INDATE_CVT,'BD',-3); END TABLE FILE FUND_DYNAMIC PRINT INDATE_REDEF AND INDATE_CVT AND INDATE_LESS3 AND AS_OF_DATE AND DATE_TEST AND DATE_TEST1 AND DATE IF READLIMI EQ 1 END 0 ERROR AT OR NEAR LINE 27 IN PROCEDURE junk FOCEXEC * (FOC003) THE FIELDNAME IS NOT RECOGNIZED: READLIMI BYPASSING TO END OF COMMAND (FOC009) INCOMPLETE REQUEST STATEMENT