IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Eztrieve debugging help - missing line break


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mrspredeep

New User


Joined: 30 Jun 2010
Posts: 28
Location: USA

PostPosted: Thu Jul 22, 2010 1:48 am
Reply with quote

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
View user's profile Send private message
Mrspredeep

New User


Joined: 30 Jun 2010
Posts: 28
Location: USA

PostPosted: Thu Jul 22, 2010 1:50 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 22, 2010 2:20 am
Reply with quote

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
View user's profile Send private message
Mrspredeep

New User


Joined: 30 Jun 2010
Posts: 28
Location: USA

PostPosted: Thu Jul 22, 2010 2:31 am
Reply with quote

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
View user's profile Send private message
Mrspredeep

New User


Joined: 30 Jun 2010
Posts: 28
Location: USA

PostPosted: Thu Jul 22, 2010 2:59 am
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 22, 2010 3:41 am
Reply with quote

If you can't fix it, then you may need to open an incident report with CA. icon_cry.gif

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 22, 2010 10:20 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 22, 2010 7:06 pm
Reply with quote

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. . . icon_redface.gif
Back to top
View user's profile Send private message
Mrspredeep

New User


Joined: 30 Jun 2010
Posts: 28
Location: USA

PostPosted: Sat Aug 07, 2010 2:58 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Aug 07, 2010 3:20 am
Reply with quote

Thank you for the follow-up - we'll be interested in the solution later as well icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Debugging not getting triggered throu... CICS 3
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
Search our Forums:

Back to Top