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] SET LINES=99999; not working, I keep getting repeating Header names every
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] SET LINES=99999; not working, I keep getting repeating Header names every
 Login/Join
 
Member
posted
Hello,

I have the following code:

-DEFAULT &LOOKBACKDAYS = 365;
-SET &TODAY = EDIT(&MDYY,'99$$$$$$')||'/'||EDIT(&MDYY,'$$99$$$$')||'/'||EDIT(&MDYY,'$$$$9999');
-SET &TODATE = AYMD(&YYMD,-1,'I8');
-SET &TODATE = SUBSTR(10,EDIT(&TODATE,'9999/99/99'),6,10,5,A5)||'/'||SUBSTR(10,EDIT(&TODATE,'9999/99/99'),1,4,4,A4);
-SET &FROMDATE = AYMD(&YYMD,-&LOOKBACKDAYS,'I8');
-SET &FROMDATE = SUBSTR(10,EDIT(&FROMDATE,'9999/99/99'),6,10,5,A5)||'/'||SUBSTR(10,EDIT(&FROMDATE,'9999/99/99'),1,4,4,A4);

ENGINE SQLORA SET DEFAULT_CONNECTION ods
SQL SQLORA PREPARE SQLOUT FOR

***sql here***

;
END

SET LINES=99999;

DEFINE FILE SQLOUT
SET LINES=99999;
YEAR/YY=STATUS_CHANGE_DATE;
MONTH/tM=STATUS_CHANGE_DATE;
YEARMND/YYtM=STATUS_CHANGE_DATE;
END

SET LINES=99999;

TABLE FILE SQLOUT


PRINT *
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET PAGE NOPAGE
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
$
ENDSTYLE
END

As you can see, I have tried to put SET LINES=99999 all over the place to try to get my headers to stop repeating every 50 or so rows but nothing seems to be working. Any suggestions would be greatly appreciated. Thanks!

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


intsoccersuperstar
WebFOCUS 8105m
Windows, Excel
 
Posts: 16 | Registered: October 17, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Take out all your SET LINES.
Instead, put ON TABLE SET LINES 99999
in your TABLE request.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1936 | Location: Tel Aviv, Israel | Registered: March 23, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
Also remove the semicolon on the SET LINES=99999;


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6131 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
Thanks Danny and Waz, works now.


intsoccersuperstar
WebFOCUS 8105m
Windows, Excel
 
Posts: 16 | Registered: October 17, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] SET LINES=99999; not working, I keep getting repeating Header names every

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