Focal Point
[SOLVED] SET LINES=99999; not working, I keep getting repeating Header names every

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1467091196

March 22, 2019, 04:13 PM
intsoccersuperstar
[SOLVED] SET LINES=99999; not working, I keep getting repeating Header names every
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
March 24, 2019, 03:25 PM
Danny-SRL
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

March 24, 2019, 03:58 PM
Waz
Also remove the semicolon on the SET LINES=99999;


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

March 25, 2019, 12:22 PM
intsoccersuperstar
Thanks Danny and Waz, works now.


intsoccersuperstar
WebFOCUS 8105m
Windows, Excel