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 created hold files to hold values for future filtering. The hold files are created using the hierarchy so I could pull all values for a specific parent. I checked the hold files and the data is there and the formats match. In the same fex, when I query the transaction table and use the above syntax (subject line), I get zero records. At this point, I am only using one filter. There is data that would match. In file, should not have to use tics to enclose the value. Any suggestions or ideas?This message has been edited. Last edited by: Kerry,
Kathy Phillips Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03 Windows
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009
Is the field you are matching the first one in the hold file? When you multiply the field length by the number of rows in the hold file, is it less than 16000 bytes for a test against a relational table?
Your syntax is correct. I use this technique a lot and have been very successful.
It is the only field in my hold and it currently has only one value. I tabled it to check it. When I table my transaction file with this filter, I get zero records. I am in 7.6.8 This is very frustrating.
Kathy Phillips Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03 Windows
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009
TABLE FILE TM1JOBS PRINT JOBPARENT AS 'PARENT' NOPRINT FOR JOBNAME &JOB WITH CHILDREN ALL ON TABLE HOLD AS HOLDJOBS FORMAT ALPHA END ... I added the noprint after the parent since I only wanted one field in the hold file. I remove the noprint for debugging purposes. ... TABLE FILE FCST PRINT AMOUNT BY BUSINESS_UNIT BY SCENARIO BY CURRENCY BY SOURCE BY JOB BY DEPARTMENT BY ACCOUNT BY YEAR -*WHERE JOB EQ (HOLDJOBS) WHERE JOB IN FILE HOLDJOBS;
Kathy Phillips Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03 Windows
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009
If this works the same as in legacy Focus's IF fieldname EQ (ddname) then blanks are delimiters, so any value with imbedded blanks will essentially be truncated...
e.g.,
"Widgets Department "
would be treated as
"Widgets "
...which would lead to your symptoms.
Suggestion: use HOLD as the hold-file name; then the MFD controls parsing into fields.
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Hi, thank you everyone for your responses. 1. I issued a SET BLANKINDENT=OFF. that did not help. 2. I did notice in the ? hold holdjobs that the V is dropped when doing format alpha. 3. I issued a join both ways, hold file to transaction file and then the transaction file to the hold. On the second one, trans to hold file join, I did get a foc236 linked file does not have a matching key field or segment: job bypassing to end of command. Thus I feel the V is the problem. Because I have to join to a rather large transaction file that has V's, I'm committed to the V's. 4. The transaction file is an Oracle table.
Basically, I have six fields that are prompted for and I need to pull all the children and all the grandchildren for each of those six fields which is why I use the hierarchy and then hold the results to be used for future filtering when doing the last report using a hierarchy again. For debugging purposes I have used a value where only one row is returned. I use the last hierarchy as part of the actual report. Does anyone have any other ideas? Thanks again.
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009
Maybe it's an idea to post your master file(s) here (the tm1jobs andd the fcst). This may allow us to try and reproduce your situation and possibly come up with a solution. It would also help if you could post one or two records from the tables. If you do post, please put it between the code tags (the red '< / >' button).
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
Thanks Ginny! My next test was to try that. Useful command will save me lots of time. Interesting it did not give me an error when I tried joining the hold file to the oracle table. I will try the command this afternoon and let you know.
Kathy Phillips Web FOCUS 8.2.05.14, 8.1.05, 8.08, 8.0.7, 8.0.5,8.0.2m, 7.6.10,7.7.03 Windows
Posts: 118 | Location: Livonia, MI | Registered: March 27, 2009