Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Eztrieve debugging help - missing line break

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Eztrieve debugging help - missing line break
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    Post subject:
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

Site Director


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

PostPosted: Thu Jul 22, 2010 2:20 am    Post subject:
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    Post subject:
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 22, 2010 3:41 am    Post subject: Reply to: Eztrieve debugging help - missing line break
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 22, 2010 10:20 am    Post subject:
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

Site Director


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

PostPosted: Thu Jul 22, 2010 7:06 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sat Aug 07, 2010 3:20 am    Post subject: Reply to: Eztrieve debugging help - missing line break
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Fault Analyser - missing code explana... egrove IBM Tools 1 Thu Aug 11, 2016 5:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us