|
You could submit a job which runs at midnight (e.g., SBMJOB JOB(CHGDATE) CMD(CALL CHANGEDATE) SCDDATE(*CURRENT) SCDTIME(23:59:59)). Program CHANGEDATE could update the date in the control file. Then if the control file is only loaded at the start of the program, you would need to add logic to re-read the file at the top of each loop. But I'm wondering why not just receive the date by way of any of the previously mentioned methods? There are also better ways to submit a job every day at midnight. It just depends on what options you have available. Original message: ---------------------------------------------------------------------- date: Wed, 04 Feb 2004 15:10:11 -0500 from: "Cesar Mendoza" <mendoza_cmg@xxxxxxx> subject: [COBOL400-L] re: Never Ending program Hi colleagues: The field that contains the date is in a file of control, when I carry out the change during the day, this affects only to 1 sesion and not to the other. Do you consider that can apply utilizing the Local Data Area? \|||/ (o o) ----ooO--(_)--Ooo------- Un abrazo cordial, Cesar A. Mendoza Gomez Calle Buen Retiro 216 Chalet 22 - Lima 33 - Peru Phone: +(511) 434-2024 Mobile: +(511) 985-42410
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.