|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Silver Member |
Hi,
I need to set Burst value and File name for FTP option dynamically in Reportcaser based on lines of Code (By Sort field). For example, The report should burst after every 100 records.How can I implement this condition? Thanks, Suji This message has been edited. Last edited by: kerry, WebFOCUS 7.4.1(Production and Test region) Oracle backend (10g)and Windows Frontend. HTML,CSV,PDF,PF,Excel |
||
|
|
Virtuoso |
You need to create a sort field that counts number of lines of output - probably using a COMPUTE. As soon as you get this to where it would page-break after each 100 records then you can just use that same field as your burst value. Remember that to burst, this will have to be your primary sort. There are numerous examples of what you are trying to do if you use the search tab.
Regards, Darin WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K WF Client: Linux w/WebSphere, Servlet, CGI |
|||
|
|
Virtuoso |
FYI, solution from Suji:
This is my code to burst a report into multiple sections and ftp them to a particular location(/tmp). APP HOLD holddir SQL SQLORA SELECT RR_NUM FROM TABLENAME; TABLE FILE SQLOUT RR_NUM COMPUTE FILE_FTP/A7 = RR_NUM || '.xls' ; ON TABLE HOLD AS BURST_REP FORMAT FOCUS END TABLE FILE BURST_REP ACCTNUM BY RR_NUM NOPRINT END The following is the code for bursting which resides in a separate APP Folder in reporting server. TABLE FILE BURST_REP ON TABLE SET ASNAMES ON RR_NUM AS 'VALUE' FILE_FTP AS 'DEST' ON TABLE PCHOLD END Thanks a lot Suji for sharing with us. Cheers, Kerry Kerry Zhan Focal Point Moderator Information Builders, Inc. |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

