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
FILEDEF & MATCH
 Login/Join
 
Silver Member
posted
I am trying to run a MATCH against 2 HOLD files saved on a server hard drive. My code looks like this:

FILEDEF RESALHOLD DISK E:\ibi\apps\dkyler\RESALHOLD.FTM
FILEDEF RES3SHOLD DISK
E:\ibi\apps\dkyler\RES3SHOLD
-RUN

MATCH FILE RES3SHOLD
SUM UNITS AS 'PRIVCNT'
BY SOORDNUM
BY SOORDTYP
BY SLACT
BY ALPREM
BY PROD_TIER
RUN

FILE RESALHOLD
SUM UNITS
BY SOORDNUM
BY SOORDTYP
BY SLACT
BY AL
AFTER MATCH HOLD AS RESGRP3HOLD OLD-OR-NEW
END

When I go to run this, it not only crashes the agent, but it stops the WF76 server service. When I go to restart the service I get a message that the service starts and then stops. Then I have to reboot the server to clear this error message. Has anyone seen this before and is there a way around this? We are running WF 761 on Windows. Thanks.


WF 7.7/Windows
 
Posts: 42 | Location: Denver, CO | Registered: January 04, 2007Report This Post
Expert
posted Hide Post
simba,

To start with, check your FILEDEF statements and ensure that they are complete and each one is on one line.

Once these are correct then try again and let us know the progress.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Silver Member
posted Hide Post
My second line of code for the FILEDEF looks like this: FILEDEF RES3SHOLD DISK E:\ibi\apps\dkyler\RES3SHOLD.FTM. Somehow the .FTM got lost and if it shows up on the Forum on 2 lines - it was due to the way the post pasted the code - it is on one line in my fex. I moved the 2 FILEDEF lines above a section of code that precedes the MATCH and my fex runs fine. All I wanted to know is why putting FILEDEF code right before MATCH code caused the WF server service to shut off and not start.


WF 7.7/Windows
 
Posts: 42 | Location: Denver, CO | Registered: January 04, 2007Report This Post
Master
posted Hide Post
A wrong path in the filename will kill the wf agent.

Check these individually run ok by issuing as table commands.

If you have a stream in your input file (sequence without cr lf) which is larger than the wf master buffer (check file to see how big this is) then you will get unpredictable results.

You may have to use recfm F which is used in HOLD FORMAT BINARY to prevent these problems.

This is why HOLD FORMAT ALPHA sometimes does not work - its because a field contains a CR LF combo!

This is an area which IB should address and clarify the specification of FILEDEF because the docs are not very clear on this at all.



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders