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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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