MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EZT Report Help

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
petluri
Beginner


Joined: 05 Dec 2002
Posts: 19
Topics: 5
Location: Virginia, USA

PostPosted: Tue Jan 18, 2005 1:44 am    Post subject: EZT Report Help Reply with quote

Hi,

If my report is having LINE 01 and LINE 02. If LINE 01 is having the Data spaces, How do I skip printing a line if the data in it is having spaces?

Regards,
Sreeni
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Jan 18, 2005 2:08 am    Post subject: Reply with quote

Don't write it to the report dataset.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
petluri
Beginner


Joined: 05 Dec 2002
Posts: 19
Topics: 5
Location: Virginia, USA

PostPosted: Tue Jan 18, 2005 6:06 am    Post subject: Reply with quote

But how can I do that? I will be there REPORT Process already. From there I want to skip writing LINE01 only. But I still want to write LINE02.

Regards,
Sreeni
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Jan 18, 2005 7:20 am    Post subject: Reply with quote

You can use SORT or any other utility to omit the blank lines. Or, write a program to do so.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Tue Jan 18, 2005 9:21 am    Post subject: Reply with quote

petluri,


In the easytrieve pgm itself add a if statement to skip the blank lines

Code:

if line01 field = ' '
   continue
else
   print rpt
end-if


Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group