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] EXEC in maintain not returning all columns

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] EXEC in maintain not returning all columns
 Login/Join
 
Gold member
posted
Hi,

I call a fex from a maintain app using EXEC and placing the non formatted data into columns in a stack. The fex is very simple...
 TABLE FILE FOW_VOUCHERS
SUM 
     CNT.HFCCID
     BOOKAMT
     VOUCHERAMT
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF 
ON TABLE NOTOTAL
ON TABLE PCHOLD 
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$ 

This has worked fine, but today I was asked to change CNT.HFCCID to CNT.DST.HFCCID. Once I made this change the data for HFCCID stop populating the corresponding column in the stack. I've ran the fex to verify it is working, and it is. CNT.DST.HFCCID is returning a value but its not making it into maintain.

Any ideas why?

This message has been edited. Last edited by: brjohnson,


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report This Post
Virtuoso
posted Hide Post
You probably get two columns named HFCCID, which stack-processing cannot handle. For example:
TABLE FILE CAR
SUM SALES CNT.DST.CAR
ON TABLE HOLD
END
?FF HOLD

Result:
 NUMBER OF RECORDS IN TABLE=       18  LINES=      1
 (BEFORE DISTINCT TESTS)
 FILENAME=  HOLD
 SALES         E01           I6
 CAR           E02           I5
 CAR           E03           A16


That's with the default setting of HOLDLIST=ALL. Try adding
ON TABLE SET HOLDLIST PRINTONLY
to your TABLE ... PCHOLD code.


And you may as well drop all the print-formatting code:
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL

ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
... from your TABLE request. It serves no purpose.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Gold member
posted Hide Post
Spot on you nailed it. Thanks for help!!!


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report 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] EXEC in maintain not returning all columns

Copyright © 1996-2020 Information Builders