John,
  If you have some way to know that the year is being closed, condition the 
CLRPFM based on that.
  You could do this in either CL or RPG using QCMDEXC.
   
  

John Candidi <jacandidi@xxxxxxxxxxxxxxxxxxxx> wrote:
  Actually, I need to clear it on Jan 31 or Feb 1 sometime after the January
c/o. The new data needs to be out there FEB 1 A.M.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin
Sent: Thursday, April 06, 2006 1:09 PM
To: Midrange Systems Technical Discussion
Subject: Re: Another CL question

I take it that you can clear it between February 15th or so, and the end 
of February?

I suppose you can do the clear at the beginning of the closing cycle for 
January, which happens at the end of February?



John Candidi wrote:
> I have a file that I append data to each month throughout the year via
> query. Come January 31 when we run our first closeout of the year, this
file
> has to be cleared so that we can start all over again. I usually just
CLRPFM
> I am trying to automate this process but keep in mind, when we run the
> month-end on Jan 1 for the year-end, this file must not get cleared. It is
> entirely possible this process won't run on Jan 31, it could spill over to
> Feb 1 depending on the length of the closeout. Any ideas keeping within a
CL
> or something simple would be greatly appreciated.
> 
> 
> 
> John A Candidi
> 
> Rutgers Insurance Companies
> 
> IT Director - AS/400 Manager
> 
> 856-779-2274
> 
> 
> 
> 
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.