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] PDF file is empty with ReportCasaster Burst
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] PDF file is empty with ReportCasaster Burst
 Login/Join
 
Member
posted
I am experiencing a problem with the ReportCaster 'burst' function with a PDF file that is distributed using a Dynamic Address program based upon the value for CLIENT_USER. The distribution work fine but some of the PDF files are empty and display an Adode Reader error message when opened. The error message is "There was a problem reading this document(14)." An empty/currupt file is not generated when the output PDF file is created for only one specific CLIENT_USER value.

TABLE FILE BSA_OFAC_VERIFY_T
-*
HEADING
"""-*
BY CLIENT_USERID NOPRINT PAGE-BREAK
BY OFAC_VERIFY_ISC_CODE NOPRINT PAGE-BREAK
BY OFAC_VERIFY_LABEL_NBR NOPRINT PAGE-BREAK
-*
ON TABLE SET NODATA ''
ON TABLE SET PAGE OFF
ON TABLE SET LINES 999999
ON TABLE PCHOLD FORMAT PDF
-*
-*******************************************************************************
-*
-* The stylesheet settings below support the use of Avery Label 5162 and Avery
-* Label 8162. The dimension of the 5162/8162 label sheet are:
-*
-* Two (2) labels horizontally across each 8-1/2" x 11" label sheet.
-* Seven (7) labels vertically down each 8-1/2" x 11" label sheet.
-* There is a 7/8" margin at the top and bottom of each 8-1/2" x 11" label sheet.
-* Each label is 1-1/3" in height and 4" in width.
-* There is a 3/16" space (gutter) between the two (2) labels on the horizontal row.
-*
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE=LETTER, LEFTMARGIN=0.5, RIGHTMARGIN=0.1,
TOPMARGIN=0.875, BOTTOMMARGIN=0.875, GRID=OFF,
ORIENTATION=PORTRAIT,$
TYPE=REPORT, PAGEMATRIX=(2 7), MATRIXORDER=HORIZONTAL,
ELEMENT=(4.0 1.333), GUTTER=(0.1875 0 ), LABELNAME=AVERY 5162 ADDRESS,
LABELPROMPT=OFF,$
TYPE=REPORT, FONT=TIMES NEW ROMAN,SIZE=11, BACKCOLOR=NONE,
STYLE=NORMAL, SQUEEZE=OFF,$
ENDSTYLE
-*
-*******************************************************************************
-*
END
-RUN

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.7
MS Windows Server 2008
all output
 
Posts: 19 | Registered: September 29, 2009Reply With QuoteReport This Post
Member
posted Hide Post
The HEADING of the report contains three lines of data values. The left caret fieldname was removed when I posted the message previously.

"SENDER_NAME"
"SENDER_ADDR_ONE"
"CITY_ST_ZIP"


WebFOCUS 7.7
MS Windows Server 2008
all output
 
Posts: 19 | Registered: September 29, 2009Reply With QuoteReport This Post
Member
posted Hide Post
As you can see this program generates mailing labels using the Avery 5162/8162 label. The first file in the email distribuion is empty which should only contain one label. The address information for this label appears in the second PDF distributed as tje first label but is overwritten by the first mailing label for the second burst value. You can actually see both names/addesses in the first label.


WebFOCUS 7.7
MS Windows Server 2008
all output
 
Posts: 19 | Registered: September 29, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Try putting this at the beginning and see if it helps.

SET EMPTYREPORT = ON

This might be a PDF thing.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Member
posted Hide Post
I added the command and got the same result. The first file actually has a value that should appear in the report but the file sent is empty. The second file distributed has the record from the first file appearing in the first label of the second file overwritten by the actual first label of the second file distributed.

I am wondering if this problem is similar to the issue with ReportCaster 7.1 not being able to correctly burst a compound report.


WebFOCUS 7.7
MS Windows Server 2008
all output
 
Posts: 19 | Registered: September 29, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
does this make the whole process stop working or you just getting errors. I have a huge prosess that bursts reports to a distribution file, and I get erors when there is nodata...I still get reports for everyone else.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Member
posted Hide Post
The process completes successfully with no errors. The ReportCaster log just shows that no report avaiable for an e-mail address based upon the respective burst value in the dynamic address file.


WebFOCUS 7.7
MS Windows Server 2008
all output
 
Posts: 19 | Registered: September 29, 2009Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I think that's normal behavior.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteReport This Post
Member
posted Hide Post
Prarie. Thanks for your input. I believe I have isolated the cause of the issue.

The issue only appears to occur when the first file to be distributed contains only ONE label. Today is the second time this data scenarion occurred and produced the same issue with the distributed PDF files.

The PDF file bursting is based upon the CLIENT_USERID data values.

CLIENT_USERID = 'A USER A'
CLIENT_USERID = 'A USER B'
CLIENT_USERID = 'A USER C'
CLIENT_USERID = 'A USER D'

The PDF file for the 'A USER A' burst value has only 1 record that meets the record selection criteria for producing a label. All of the following CLIENT_USERID burst values have multiple records that meet the record selection criteria for producing a label.

However, the (first) PDF file distributed for the 'A USER A' burst value is empty and does not contain the label record.

The (second) PDF file distributed for the 'A USER B' burst value contains the label record for the 'A USER A' burst value in the first label position on the page. In that same first label position on the first page in this same PDF file, the label record for the 'A USER B' burst value overwrites the 'A USER A' label record. See PDF files attached to this case for a sample of the label data overwrite.

All subsequent PDF files in the ReportCaster distribution are created with no file or data issue.


WebFOCUS 7.7
MS Windows Server 2008
all output
 
Posts: 19 | Registered: September 29, 2009Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] PDF file is empty with ReportCasaster Burst

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