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.
-* File Mark1.fex
CHECK FILE CAR HOLD
-RUN
FILEDEF ALLFIELDS DISK ALLFIELDS.FEX
TABLE FILE HOLD
PRINT FIELDNAME
IF FIELDNAME NE WARRANTY OR STANDARD
ON TABLE SAVE AS ALLFIELDS
END
-RUN
TABLE FILE CAR
PRINT
-INCLUDE ALLFIELDS
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
TABLE FILE SYSCOLUM
PRINT NAME
WHERE TBNAME EQ 'CAR'
WHERE NAME NE 'COUNTRY'
ON TABLE SAVE AS ALLFIELDS
END
-RUN
TABLE FILE CAR
PRINT
-INCLUDE ALLFIELDS
END
It used to be (if memory serves) that the default extension of an include file was .fex and the help references do infer that only focexecs can be included.
However, help files for 7.1.3 (the DS of choice ) gives -
quote:
-INCLUDE drive:\path\filename.ext where:
drive Is the drive that contains the path to the FOCEXEC.
path Is the fully qualified path to the file that contains the FOCEXEC.
filename Is the name of the file that contains the FOCEXEC.
ext Is the extension of the file that contains the FOCEXEC.
Then again, it also states-
quote:
Relative paths are not supported in the -INCLUDE command
For safety I always code the extension and never leave it to WF to determine what it thinks it should use - it's like asking a child to fetch the ASP book from the shelf in the study - which ASP book?
In the above examples given by Waz and Danny, I would suggest that the -INCLUDE code was coded as -INCLUDE ALLFIELDS.FTM, or as Danny suggests, FILEDEF the file with extension that you want and then include that - specifying the extension. Code safe and make it future proof - who knows what subsequent releases will bring
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