|
Good luck Vern
vern,
i knoe DSPFD and to get that last changed date and variable to hold that..but iam really confused how to put those stuff in my program?? .....however i shall look into the info centre material...
Thanks so much vern !
Murali.
Vern Hamberg <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote: Files also have change time - use that. Check out the file management manuals - this is pretty basic stuff. Look up commands about members - do you know about the various menus of commands? Or go to the API finder at InfoCenter and look up member description and file description APIs.
Vern
At 12:57 AM 11/4/2003 -0800, you wrote: >Hi all, >following is my cl program.MURALI0 is previous day's >file.MURALI1 is today's file. >prior to generating today's file(MURALI1) i shall be >taking yesterday's file into MURALI0 as per first copy >file command in my program.The program is running >fine.But I have problem if i run this program more >than once in the same day since it replacing MURALI0. >is there any command (please suggest me) i can include >before the first copy file command to compare the >dates (OR) >If I execute the program more than once ,file MURALI0 >is having the same data as MURALI1. >How do i make changes to my program sothat it can be >run any number of times that day without changing the >data in the MURALI0(after 1st run). >for my first time execution of the program,file >MURALI0 will contain yesterday's data, >for second execution of the program ,file MURALI0 will >get today's data since it is copying from MURALI1.so >teh very purpose of the program is nt working. >I want to see the program work for any number of runs >without loosing yesterday's data in MURALI0. >please suggest me i shall be greatful to you, >Thanks, >Murali.
As an Amazon Associate we earn from qualifying purchases.
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.