Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Alpha Output Format
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Alpha Output Format
 Login/Join
 
Guru
posted
Has anyone run into this before?

I have a simple table file request with 24 by fields, no print or sum just by fields and 2 where clauses. This is output as a SAVE file using FORMAT ALPHA. In the output the first by field is being repeated at the end of the file. For the life of me I can not figure out why it is doing this. As a work around I had to also put the last field I want in the output as the first by field and make them BOTH NOPRINT and then I will get just the last one printed like I want. Now tell me how that is working, when they are both NOPRINT?!

Thanks for any insight.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Try setting HOLDLIST to PRINTONLY like below ...

TABLE FILE CAR
BY COUNTRY
BY CAR
BY MODEL
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SAVE
END


WebFocus 8.201M, Windows, App Studio
 
Posts: 221 | Location: Lincoln Nebraska | Registered: August 12, 2008Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I think when you have no PRINT, SUM, WRITE or COUNT in your request, WebFOCUS automatically adds a PRINT firstbyfield NOPRINT to your request. The effect of this is the repetition of the first BY field in your save file.

That's why, like jfr99 says, if you add SET HOLDLIST PRINTONLY to your request, the HOLD or SAVE files will only keep the BY fields.


WebFOCUS 8206, Unix, Windows
 
Posts: 1693 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Guru
posted Hide Post
Thank you jfr99, that worked!


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Reply With QuoteReport This Post
Guru
posted Hide Post
Thank you also BabakNYC for the explanation.


WebFOCUS Server 8.1.05
Windows 2008 Server
WebFOCUS AppStudio 8.1.05
Windows 7 Professional
IE 11 and Chrome Version 43.0.2357.124 m.
Mostly HTML, PDF, Excel, and AHTML
 
Posts: 272 | Location: Kalamazoo, Michigan | Registered: September 30, 2010Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Alpha Output Format

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.