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 

Page breaks in eazytrieve

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


Joined: 11 May 2005
Posts: 5
Topics: 1

PostPosted: Wed May 11, 2005 11:14 pm    Post subject: Page breaks in eazytrieve Reply with quote

Hi,

can you please tell me how to insert manual page breaks in an easytrieve program.

Thanks,
Vinothini,
Inautix technologies,
chennai.
Back to top
View user's profile Send private message
vinothini
Beginner


Joined: 11 May 2005
Posts: 5
Topics: 1

PostPosted: Thu May 12, 2005 4:10 am    Post subject: Reply with quote

I have many participants for an account..so the break should not be in between accounts.after writing a complete account need to break for new page.

Thanks,
Vinothini.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu May 12, 2005 5:55 am    Post subject: Reply with quote

Vinothini,

Specify the ACCOUNT as CONTROL field in your report definition and it will auotmatically print with a break when ever the account changes.

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
vinothini
Beginner


Joined: 11 May 2005
Posts: 5
Topics: 1

PostPosted: Thu May 12, 2005 7:39 am    Post subject: Easytrieve page break Reply with quote

Hi,

I had mentioned in the control depending on account number.But still it breaks in between accounts.
CONTROL FINAL NOPRINT WS-ACCT NOPRINT
An account has 5 participants.and during the start of second page 2 of the participants are listed in first page, remaining 3 in second page.
Is there any possibilty to put those in array and and for manual page breaks.

Thanks,
Vinothini.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu May 12, 2005 7:55 am    Post subject: Reply with quote

vinothini,

The default no: of lines per page in easytrieve reports is 58 lines. Once you cross that you will have a page break and the report will be printed on the next page. However you can override that default no: of lines using PAGESIZE parameter of the REPORT statement.

Code:

PAGESIZE 63


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
vinothini
Beginner


Joined: 11 May 2005
Posts: 5
Topics: 1

PostPosted: Fri May 13, 2005 1:15 am    Post subject: Reply with quote

Kolusu,

If i use this pagesize 63 it works fine for some pages.But since the number participants vary for each account still problem of page break.Is there any possiblity to write using array declaration?.

Thanks,
Vinothini.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri May 13, 2005 6:03 am    Post subject: Reply with quote

vinothini,

try this

Code:

CONTROL FINAL NOPRINT WS-ACCT NOPRINT newpage


So everytime an account number changes it will be printed on a newpage

Ps: Please do not waste your time with array building. In easytrieve the report is built at the end of the job.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vinothini
Beginner


Joined: 11 May 2005
Posts: 5
Topics: 1

PostPosted: Fri May 13, 2005 7:24 am    Post subject: Reply with quote

Kolusu,

It prints the heading and page number for each account.But i dont want to print for each account.I need to print after say some 55 lines or more.
since we dont know the exact number of participants for each account how shall we check if all the details of that particular account have been written and then do a page break.
for eaxmple:report
The current report looks like this.
Code:

abcd    123    345   cod    py         us 
                                     sy          us
DATE          REPORT GENERATION                PAGE:2
acct#   ibd#   ofc# acct   acct       cntry
                            type   holder
                                     sy          india
                                     sy          us
The desired report is:
either
1)
abcd    123    345   cod    py         us 
                                     sy          us
                                     sy          india
                                     sy          us
DATE          REPORT GENERATION                PAGE:2
acct#   ibd#   ofc# acct   acct       cntry
                            type   holder
2)
DATE          REPORT GENERATION                PAGE:2
acct#   ibd#   ofc# acct   acct       cntry
                            type   holder
abcd    123    345   cod    py         us 
                                     sy          us
                                     sy          india
                                     sy          us

the full account details shud appear in the same page.
Plz suggest me regarding this.

Thanks,
Vinothini.
Back to top
View user's profile Send private message
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