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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Holiday File
 Login/Join
 
<kj>
posted
Where do I have to store the Holiday file (HDAYxxx) inorder to access it from a fex file? I was trying to look at the Webfocus documentation, could not find in any document.
I am using WEbfocus 5.2.1 on Win2k.

Thanks in advance.
kj
 
Report This Post
Platinum Member
posted Hide Post
Working fine, I have:

c:\ibi\srv52\wfs\ibi\bin\hday2004.err

Regards,
Mikel
 
Posts: 173 | Location: Madrid, Spain | Registered: May 09, 2003Report This Post
<kj>
posted
I have created the file HDAYFX12.ERR in c:\ibi\srv52\wfs\ibi\bin folder.

The HDAYFX12.ERR has
20030101 NewYear Day
20030526 Memorial Day
20030704 independence Day
20030901 Labor Day
20031127 Thanks Giving Day
20031225 Christmas Day
20040101 NewYear Day
20040531 Memorial Day
20040704 independence Day
20040906 Labor Day
20041125 Thanks Giving Day
20041225 Christmas Day

SET HDAY = FX12
TABLE FILE CAR
COMPUTE DTDIFF/D12.2 = DATEDIF(20031220, 20031231, 'BD');
END
I am getting 0 for DTDIFF.
Any Idea why it is not doing proper?
Thanks,
kj
 
Report This Post
Platinum Member
posted Hide Post
It seems that DATEDIF function with 'BD' unit, needs smart date formats, not integer values.


SET HDAY = FX12
SET BUSDAYS = _MTWTF_
-RUN

TABLE FILE CAR
PRINT
COUNTRY
COMPUTE DAT1/YYMD = 20031220 ;
COMPUTE DAT2/YYMD = 20031231 ;
COMPUTE DTDIFF/I2 = DATEDIF(DAT1, DAT2, 'BD');
END
With your holiday file, we get:

COUNTRY DAT1 DAT2 DTDIFF
------- ---------- ---------- ------
ENGLAND 2003/12/20 2003/12/31 6
...
Regards,
Mikel

This message has been edited. Last edited by: <Mabel>,
 
Posts: 173 | Location: Madrid, Spain | Registered: May 09, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders