|
I'll look into that, Ron. Thanks. The *NONE parameter is another useful bit of info.<g> That would enable me to schedule a special month-end backup. As you've indicated, would have to NOT run the normal daily backup schedule on those days. Means I would have to setup the OMITDATE for every month-end date. Sounds messy...but it might work... In the meantime, I've just moved the AS400 backup to 3:00 AM, gets it out of the way of the month-end activity. For those who are chiding about shipping performance and other such assumptions...don't.<g> They make a decision each month as to how far to chase backlog for revenue enhancement. If the backlog is long, they chew into it...solves two problems. It's not a "hafta", it's a "wanna". It's called management discretion...anything outside of their normal 3-day ship cycle is eligible for shipment at month-end. -----Original Message----- From: Ron [mailto:Ron_H@xxxxxxxxxx] Sent: Thursday, May 27, 2004 9:10 PM To: mapics-l@xxxxxxxxxxxx Subject: RE: AS400 Backup, Daily vs. Monthly Terry In the job scheduler you can specify an OMITDATE on the job. So on your daily backup, just enter the OMITDATE for each day it runs on the same date as the month end backup. Not pretty unless you want to do some coding. The other option I believe was previously mentioned was in a CL program check whether it's the month end date and if YES, run month end backup, if NO run the daily backup. Here's code you can use to get the last date of a month: http://www.as400pro.com/TipsRPG11.htm#8 Our backups are scheduled via the AS/400 job scheduler using the MAPICS enhancement SH62874. Before the backup executes we run a job that: 1) Builds a list of all users in the environment 2) Sends a break message for them to logout 3) After 5 minutes we end the jobs, including Browser jobs 4) Close all IM transaction batches and run the transaction register 5) End the U-jobs by putting them on "HOLD" 6) Run the backup 7) Start the U-Jobs Ron Hankey - CPIM Senior Applications Programmer David wrote: >If you are using a job schedule entry to run these backups, you can >designate the scheduled "date" to be *MONTHEND and the scheduled "day" >to be *NONE. This will run only on the last day of the month. >However, you >still need a mechanism to stop the "daily" backup automatically. I >will have >to think about that part of it. _______________________________________________ This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mapics-l or email: MAPICS-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/mapics-l.
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.