Will you ALWAYS print these reports every other Friday? What if a
holiday occurs on the "print Friday" and you skip processing for that
Friday? For example, 12/25/2009

Bentley Pearson
Vice President - Information Services
Southland National Insurance Corporation
1812 University Blvd
Tuscaloosa, Al
205 345 7410

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Raul A. Jager W.
Sent: Friday, September 18, 2009 2:35 PM
To: Midrange Systems Technical Discussion
Subject: Re: Printing Every Other Friday

If you can get the "week number", print when odd (or when even)

You can convert to Julian,take the "day in year" and look for the
remaider by 14 one week will be less than 7, the next week will be
between 7 and 13.

Terry Nonamaker wrote:

You could also do

/* Declare Day of week */
Dcl Var(&DOW) Type(*Char) Len(4)

/* Get dow system Value */
RtvSysVal SysVal(QDAYOFWEEK) RtnVar(&Dow)

For Friday, the value w/b ... *FRI

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Ostrowski
Sent: Friday, September 18, 2009 8:26 AM
To: midrange-L@xxxxxxxxxxxx
Subject: Printing Every Other Friday

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?


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 midrange.com 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].