Re: Question about Run dates
Posted in 1996
Peter, Unless I am wrong, Informix' DATE/TODAY is refering to the system date. In our case, we have own 'application' date and it will not change unless someone re-update the date (which is done daily before office hour). As such our batch program will referenced to our 'application' date and not the current/ system date. Anyway, try the following: 1. fglgo program_name dd/mm/yyy # RDS or program_name.4ge dd/mm/yyyy ----------- MAIN LET the_date = arg_val() # to receive the incoming/pass in date ..... 2. prepare a 'getdate()' function and call it in each program MAIN CALL getdate() RETURNING the_date ## your 'app.' date .... REgards, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= _/_/_/_/ _/ _/ _/_/_/ Richard Wellis Sinyem / / / / / Company: Microlink Consultancy Sdn Bhd _/ _/ _/ _/ _/ Tel: 082-415785 Fax: 082-428264 / / / / / _/_/_/_/ _/ _/ _/_/_/ E-Mail: sinyem@pc.jaring.my (home) / / / / / _/ _/ _/ _/ _/ _/ senyem@hq.microln.com.my (office) / / / / / / _/ _/ _/_/_/_/_/ _/_/_/ WWW: http://www.microln.com.my =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=