×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Footer for Empty report

Footer for Empty report

Footer for Empty report

(OP)
Hi,
I created a report for which I want to display the empty report (including report footer) when the where condition is not satisfied.
For that I used SET EMPTYREPORT=ON
Then, I am able to see the column titles with no data.
But, I am unable to see the report footer !!
I want to see report footer also. Is there anyway for that?
Thanks in advance.
-WFRAJ

RE: Footer for Empty report

Case: 32261090 Product: MF Release: 706 Primary OS: MVS Date: 98/08/24
Case information refers to the Product, Release, and OS for which this question was asked. The solution may apply to other Products, Releases, and Operating Systems.

Symptom:

How to print a report that will contain Footing information if the report does
not have data.

Problem:

SET EMPTYREPORT = ON prints HEADINGS not FOOTINGS.

Solution:

This is expected behavior with this command.

Product: MF, MF, FOCUS/S390
Symptom: None Assigned
Functional Area: None Assigned
Operating System: MVS, MVS
Keywords: 32261090, FOOTING, EMPTYREPORT
Docid: 32261090

RE: Footer for Empty report

If this is an HTML report, you can do this for a workaround.

SET EMPTYREPORT = ON
TABLE FILE CAR
PRINT CAR MODEL SEATS
BY COUNTRY
ON TABLE SUBFOOT
"End of Report"
IF COUNTRY EQ 'XXX'
END
-IF &RECORDS GT 0 THEN GOTO NOFOOT;
-HTMLFORM BEGIN
End of Report
-HTMLFORM END
-NOFOOT
        

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close