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     Holiday File Location

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Holiday File Location
 Login/Join
 
Platinum Member
posted
I am wondering if anyone can tell me where I need to store the holiday file that I create.

I have tried a few locations with no luck.

This is for use with SET HDAY = XXXX

Thanks in advance


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
something like

.../ibi/srvxx/wfs/bin/hdaydoff.err

if I do remember well...

But it must be in the documentation.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Platinum Member
posted Hide Post
You would think so wouldnt you....but nope, not so much....(From the Help File)

Procedure: How to Create a Holiday File

1. In a text editor, create a list of dates designated as holidays using the Rules for Creating a Holiday File.
2. Save the file:

In Windows and UNIX, the file must be HDAYxxxx.ERR

In z/OS, the file must be a member of ERRORS named HDAYxxxx.

where:

xxxx

Is a string of text four characters long.


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
So the system is able to find the file now that I have placed it in the location specified by the good FrankDutch. But now anytime I attempt to do a BD calculation with DateDif the result is 0.

The contents of my .ERR file is

20080101
20080218
20080321
20080324
20080519
20080701
20080804
20080901
20081013
20081111
20081224
20081225
20081226

Not sure if I am missing anything, but I have double checked the documentation in the help file with no luck.

DOCUMENTATION:

Reference: Rules for Creating a Holiday File
Dates must be in YYMD format.

Dates must be in ascending order.

Each date must be on its own line.

Each year for which data exists must be included. Calling a date function with a date value outside the range of the holiday file returns a zero for business day requests.

You may include an optional description of the holiday, separated from the date by a space.


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Have you checked this post?
It may help.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
Thanks Alan and Frank,

Between the two of you I have it figured out.

A) The file location was indeed as Frank Suggested
B) I simply had the incorrect date formats being passed to my datedif function which resulted in the system returning a 0

Thanks Again


WebFOCUS 8201M/Windows Platform
 
Posts: 109 | Registered: October 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     Holiday File Location

Copyright © 1996-2020 Information Builders