How about setting up a data area that will contain either a "0" or a "1", and have the CL program check it: if it's "0", the report prints and the data area is reset to "1"; if it's "1", the report doesn't print and the data area is reset to "0"? This
would have the added advantage that when "they" come on a no-print week and say they want the report to print anyway, all you have to do is change the data area.

Kind of low-tech, but ...


Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> writes:
We have a series of reports that now print every Friday. We print them
based on the day of the week determined in a CL program.

IF COND(&DAY *EQ '5') etc....

They now want these reports to print every other Friday. Anybody know
of a way to do this?


Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA 01376
413-863-4357 x444
NOTICE: This e-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that any use is
strictly prohibited. If you have received this e-mail in error, please notify us immediately by replying to it and then delete it from your computer.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].