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.
CHECK FILE CAR HOLD
TABLE FILE HOLD
PRINT *
WHERE FIELDNAME EQ 'MODEL'
ON TABLE HOLD
END
-RUN
-SET &MSG =
- IF &LINES EQ 1 THEN 'FILE CAR CONTAINS A COLUMN CALLED MODEL'
- ELSE 'CAR DOES NOT CONTAIN A COLUMN CALLED MODEL';
-TYPE &MSG
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
The answer has already been given, but to assist you in understanding it -
You are in a room. There is a bucket filled with water in the middle of that room. You want to know if it has any fish in it. How are you going to find out?
You have to look in it!!
To find the field visually, open the MFD in a viewer. Programatically, then use the solution suggested by Ginny and then given away by Francis.
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, 2004
Majid, I think you are asking the question wrong. If you want to know if the field is in the Master File, open the Master file and look. If you want to know if there is data in that field, try COMPUTE ANYAMT/D10=IF DATAFIELD IS MISSING THEN O ELSE DATAFIELD *10;
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007