Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cobol Report Writer

Status
Not open for further replies.

butler

MIS
Oct 12, 1998
88
US
Greetings,

I have a program a detail line, and 4 levels of control breaks. I let the user decide what level of detail he wants to show, and use SUPPRESS PRINTING to only print what the user wants to see. It works but I have two thing that seem like they should be simple but am struggling with.

1. If the user does not want to see detail-line, then I want to single space the lowest control break. If the user wants to see detail, I want a space before and after the lowest control break. I've tried manually adjusting the LINE-COUNTER and other tricks but nothing is working.

2. If the user does not want to see the detail-line, I want to use a different heading.

Any pros out there with some advice for a novice?
--bill

 
1. Do not specify double-space, generate a blank line to double-space when you want it.

2. Specify the heading as an 80-byte (or whatever) variable, and put the text you want in it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top