View previous topic :: View next topic
|
Author |
Message |
Mrspredeep
New User
Joined: 30 Jun 2010 Posts: 28 Location: USA
|
|
|
|
I'm debugging an eztrieve program.
It creates a report, and in the report, one of the lines is missing a line break.
in the offending line: first byte is low values x'00', whereas in the other lines it is either 0, spaces or 1 (I thnk 1 is for page break).
I compared the program with a similar program, and I don't see anything out of the ordinary.
the program prints title 1, title 2, title 3, and then line 1, line 2, line 3.
The problem is in line 1.
This is the first eztrieve program I'm debugging, and am lost
Do you have any pointers? |
|
Back to top |
|
|
Mrspredeep
New User
Joined: 30 Jun 2010 Posts: 28 Location: USA
|
|
|
|
Here is a snippet from the pgm:
Code: |
REPORT MAILERB1 PAGESIZE 60 NOADJUST NODATE NOPAGE PRINTER B****RA
SEQUENCE LAST-NAME FRST-NAME
TITLE 1 COL 001 'CYCLE:' +
COL 008 WS-PROC-DT +
COL 054 'MISSISSIPPI ******** *****' +
COL 107 'PROCESSING DATE: ' +
COL 124 SYSDATE
TITLE 2 COL 001 'REPT: MSB*********' +
COL 057 'DIVISION OF *******' +
COL 107 'PROCESSING TIME: ' +
COL 124 SYSTIME
TITLE 3 COL 041 '***** MAILING LIST - EXCL. COES ***, *** AND ***' +
COL 118 'PAGE:' +
COL 126 MAILERB1:PAGE-COUNT
LINE 1 COL 001 FRST-NAME +
COL 028 LAST-NAME +
COL 065 BRTH-DATE +
COL 077 ADDR-LNE1 +
COL 104 COE-CODE +
COL 109 CASE-NMBR +
COL 122 GADD-DATE
LINE 2 COL 077 ADDR-LNE2
LINE 3 COL 077 CITY-NAME +
COL 100 STTE-NAME
* |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Did this ever work correctly? If yes, what was changed since then?
As an experiment, you might make all of title 3 comment lines. . . |
|
Back to top |
|
|
Mrspredeep
New User
Joined: 30 Jun 2010 Posts: 28 Location: USA
|
|
|
|
No, this program has been missing the line break from day 1, but it was not changed because it was not a big thing
Now that another part of the code is changed, we want to fix this as well.
I'll go ahead and comment out the titles, as you said. |
|
Back to top |
|
|
Mrspredeep
New User
Joined: 30 Jun 2010 Posts: 28 Location: USA
|
|
|
|
I did that, no use.
I inserted an extra line at the start
Tried deleting one of the lines..
In all cases, the first byte of the first heading row (line 1) is always low values. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If you can't fix it, then you may need to open an incident report with CA.
Perhaps the EZT version/release you're using is missing PTF's?
Contact your Tech Support personnel and find out if you're running a supported version, with all PTF's applied.
As far as using EZT debugging, I can't help....
Bill
PTF = Program Temporay Fix (an IBM Term) |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Try to increase LINESIZE on your REPORT statement, or
try COL 120 SYSDATE
I guess LINE 1 overflows the default of 132 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
In all cases, the first byte of the first heading row (line 1) is always low values. |
I see "title" and "line" - which are you naming "header"?
It may help if you show the first 10 print lines of the first 2 pages. I realize that i dont really understand how often and where the x'00' occurs. . . |
|
Back to top |
|
|
Mrspredeep
New User
Joined: 30 Jun 2010 Posts: 28 Location: USA
|
|
|
|
We worked around the problem by inserting a new blank line above the offending line.
The low-values were still present, but the report looks presentable.
line1 line2
now is
line1 blankline
line2
and since the blank line is invisible, it appears like:
line1
line2
There was a lack of time for fixing this issue.
I will update this post when I find a fix in my spare time.
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Thank you for the follow-up - we'll be interested in the solution later as well
d |
|
Back to top |
|
|
|