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.
I'm going to need to graph a number (ie, count of something) for every month. But it's possible the data has no records during a month that will be during the specified period.
So for example....
2011/01 5 2011/02 0 2011/03 0 2011/04 10
etc.
I can do the counts easily enough, but need the months list to start from. I'd prefer to generate the list of months on the fly, since I'll know the start and end month anyhow. Then I can join the data to that and calculate on from there.
So - has anyone done something like this before? I'd need to generate the list of months as well as the master file, but I'd love to clear both afterwards as if they were a hold file.
I could do a loop with -write in dialogue manager and use a dos command to delete the files afterwards...but surely there must be a better way??This message has been edited. Last edited by: Keith MacDonald,
WebFOCUS & DataMigrator 7.7.03M Windows 2003, Windows 2008 x64
Sure, Datedif could work to create the list of dates. I could do that with dialogue manager and -WRITE. But that doesn't generate a master file (automatically) and also leaves a file behind after execution. I was trying to think of a way to...create a hold file? Rather than a SAVE file.
WebFOCUS & DataMigrator 7.7.03M Windows 2003, Windows 2008 x64
To create a month-dimension file: EX MAKESEQ, with FIRST=0, LAST=(the number of months in the period of interest, minus 1).
DEFINE Month (in FSEQ) as the initial date plus COUNTER months.
Then merge with the original HOLD file (using MATCH FILE) to supply rows with zero-valued statistics for the idle months.This message has been edited. Last edited by: j.gross,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005