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     [SOLVED]Hold Table and FILEDEF issues

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Hold Table and FILEDEF issues
 Login/Join
 
Guru
posted
I am creating a hold file in one fex. Later on I try to call that hold file within another fex and I get a fildef error. I have done this in 8.0.9 many times, but it seems it is not allowing me to do it THIS WAY in 8.1.5. What am i doing wrong? I have checked and there is a FTM and a MAS file created for the hold file.


This is the code to create the hold file.

APP HOLDMETA COMMON
APP HOLDDATA COMMON

TABLE FILE TBL_ESM_ALL
BY CATALOG_NAME
ON TABLE HOLD AS HOLD_ESM_CATALOG_NAME
END


This is the code I use to retrieve the file

TABLE FILE HOLD_ESM_CATALOG_NAME
BY CATALOG_NAME
ON TABLE PCHOLD FORMAT XML
END


This is the error.

0 ERROR AT OR NEAR LINE 17 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC226) FILEDEF OR ALLOC MISSING FOR EXTERNAL FILE: HOLD_ESM_CATALOG_NAME

This message has been edited. Last edited by: Jay Potter,


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report This Post
Virtuoso
posted Hide Post
Try with the following :
FILEDEF HOLD_ESM_CATALOG_NAME DISK common/hold_esm_catalog_name.ftm

TABLE FILE HOLD_ESM_CATALOG_NAME
BY CATALOG_NAME
ON TABLE PCHOLD FORMAT XML
END


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Virtuoso
posted Hide Post
quote:
Originally posted by Jay Potter:
TABLE FILE TBL_ESM_ALL
BY CATALOG_NAME
ON TABLE HOLD AS COMMON/HOLD_ESM_CATALOG_NAME
END


This is the code I use to retrieve the file

TABLE FILE COMMON/HOLD_ESM_CATALOG_NAME
BY CATALOG_NAME
ON TABLE PCHOLD FORMAT XML
END


Do an explicit hold (application/holdname) to the application and you will not have to do a filedef. The dataset attribute will be stored in the master file.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Guru
posted Hide Post
I ended up doing it MartinY's way. It works, but I will try and find out why it works different in 8.1.5. It is probably a setting somewhere in the configuration.

Thank you both for your suggestions.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
 
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011Report 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     [SOLVED]Hold Table and FILEDEF issues

Copyright © 1996-2020 Information Builders