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 

Easytrieve dummy report

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


Joined: 05 Dec 2005
Posts: 14
Topics: 8

PostPosted: Mon Dec 05, 2005 1:17 am    Post subject: Easytrieve dummy report Reply with quote

Hi,
In my program,I have created a dummy-intermediate report,which i never print.But this report goes to the SYSPRINT of the job.I know this is the default feature of the language.But i don't want this in the SYSPRINT or any where.
This report generates the SUMMARY VALUES,which are used down the line in another report,which prints the SUMMARY REPORT with proper annotation.
So,the intermediate report is neccessary and can't be removed.
Can i override this feature?

In anticipation,
regards,
euphoria
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Dec 05, 2005 4:36 am    Post subject: Reply with quote

euphoria,

Your statements seem contradicting.
Quote:

But i don't want this in the SYSPRINT or any where.


Quote:

So,the intermediate report is neccessary and can't be removed


Now what is actually required ????? You want only the summary (Report Totals) to be passed to subsequent steps ? Try removing the LINE statement of Eazytrieve which will stop printing Detail records. Also, forward the Report to some other DD Name other than SYSPRINT and use this output in your subsequent step.

Or

You can generate the summary portion using SORT instaed of Easytrieve. If this is acceptable, give us your Easytrieve code and we will see how best we can convert the eazytrieve code to sort.

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


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

PostPosted: Mon Dec 05, 2005 5:50 am    Post subject: Reply with quote

euphoria,

Define the intermediate report as Virtual retain and you should be all set.

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
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Dec 05, 2005 5:58 am    Post subject: Reply with quote

Kolusu,

Can you please explain what was expected ? I didn't quite get what euphoria actually wanted to do.

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


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

PostPosted: Mon Dec 05, 2005 11:45 am    Post subject: Reply with quote

Phantom,

OP is creating a temp file in between and using it later on to create the final report.

Ex: check the easytrieve solution listed here.

http://mvsforums.com/helpboards/viewtopic.php?p=10304#10304

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


Joined: 05 Dec 2005
Posts: 14
Topics: 8

PostPosted: Mon Dec 05, 2005 11:02 pm    Post subject: Reply with quote

Hi,

Phantom,Sorry for the delay.What kolusu said was right.I just wanted a intermediate report to print the final one.May i should have been more clear.Anyways thanks for the solution.

Kolusu,thanks for your reply.

regards,
euphoria
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Dec 06, 2005 1:09 am    Post subject: Reply with quote

Thanks for the clarification Kolusu!

Regards,
Phantom
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