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     How print values in HOLD File

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How print values in HOLD File
 Login/Join
 
<Bhavani>
posted
Hi,

This is my sample fex code.

For Ex.

1. TABLE FILE V_ACCT_SUM
2. PRINT LONG_NM
3. TOT_SHR_Q
4. CUSP_N
5. WHERE ( USER_ID EQ '3771000016');
6. WHERE V_BRANCH_USER_ACCESS.FBSI_BRCH_C EQ V_ACCT_PROJECTED_CASH.FBSI_BRCH_C
7. WHERE V_BRANCH_USER_ACCESS.FBSI_FIRM_C EQ V_ACCT_PROJECTED_CASH.FBSI_FIRM_C
8. -* ON TABLE HOLD AS UNION1
10. ON TABLE SET HOLDLIST PRINTONLY
11. END
12 -RUN

-* I printed the values by Commenting Line 8 using "? HOLD" command. It is printing the values perfectly.
-* But if i uncomment the Line 8 using "? HOLD UNION1" command. Its is printing only the file DEFINITION.

TABLE FILE UNION1
SUM
LONG_NM
TOT_SHR_Q
CUSP_N
BY CUSP_N
ON TABLE HOLD AS HOLD_TEMP
END
-RUN

-* I used the same command to print values in HOLD_TEMP "? HOLD HOLD_TEMP". Printing only the FILE DEFINIION.

Is there is any other way where i can print values only in HOLD_TEMP
 
Report This Post
Expert
posted Hide Post
? HOLD Displays fields described in a HOLD Master File, it does not print the data rows.

You simply need to TABLE the HOLD file:

TABLE FILE UNION1 (or HOLD_TEMP)
PRINT *
END
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     How print values in HOLD File

Copyright © 1996-2020 Information Builders