A Dozen Things You Should Know About Automated Job Scheduling
Whether you’re just starting to think about an automation project or have one already underway, there are significant opportunities for improving processing. Here’s a list of a dozen items you should consider.
12. Automate the process of monitoring the schedule.
Are you still manually checking off jobs in a log as they finish? There is no reason to do this; you can automate the entire process. Automated job scheduling software can run virtually any process on schedule. With a little creativity, you can create jobs that monitor the status of your batch processes. It’s the best way to meet your service-level agreements (SLAs).
Tip: If you’re trying to stay on top of SLAs manually, you’re using a brute-force approach. With automation, you manage only the exceptions to the norm—a much more elegant solution. Use the Job Monitor feature in JAMS or create a Job Dashboard to visualize the events and processes that are most important to you.
11. Automate interactive processes.
Do you have applications that require interactive input? Have you been told they can’t be rewritten to run like batch jobs? Don’t let interactive processes become a stumbling block for your automation efforts.
Tip: Outsmart your system by adding parameters to your jobs. JAMS can prompt users for input (e.g. a report end date) store that value, and continue with the remaining steps.
10. Treat automating your job schedule as a project.
Apply project management skills to break the project into manageable pieces. For instance, you might break out end-of-week or end-of-day as pieces of the project for a single business application. Phasing automation into incremental steps is the most successful approach.
What should be that first step? Look at the pieces you’ve identified and find one that either has the biggest payback or is the easiest to implement.
9. Assign an application name to each business application area.
These labels are a great help when you want to generate reports about specific applications or secure them. For example, as you set up jobs, label all your sales jobs as SALES, all your payroll jobs as PAYROLL, and so on.
Tip: The Job Name field in the Initial Job Setup window in JAMS makes this step a snap.
8. Turn on auditing.
When you first start automating your job schedule, you can be sure that someone will hold a job or force a job to run too soon. Later on, you may be more interested in auditing because of Sarbanes-Oxley (SOX) or other regulatory requirements.
Make sure your job scheduling solution provides an audit trail that tells you who changed what. JAMS provides comprehensive reporting tools to show internal and external regulators exactly how jobs executed and who submitted them to the schedule.
7. Use variables.
Variables are dynamic parameters—such as today’s date or the date of the end of the month—that you can use across many jobs. JAMS ships with many common parameters already defined, and you can create others for your specific needs.
6. Don’t submit jobs to job queues and then have a production control person release them.
The point of automating the schedule is to reduce human interaction and human error. Plus, automated scheduling reduces the amount of time it takes to run a job schedule. Make sure your job scheduling software can handle dependencies automatically and knows instantly when a prerequisite job completes to immediately run the next process.
5. Use comments and documentation on as many jobs as possible.
If you know how to put comments in CL programs, you can do the same on the JAMS job definitions. You also can add job text or long descriptions as you create new jobs.
4. Include all the servers in your data center.
Windows might run the majority of your core business applications, but you may also have a backup executing on a Linux server that you need to set up as a prerequisite for a job on an AS/400 server. Or, you might want a file transfer from a Windows server to be the event that triggers a process to run on your IBM i server. Communication and centralization across your environment is key.
Tip: You can add JAMS agents across your Windows, UNIX, IBM i, and Linux.
3. You bought an automated scheduler—use it.
If reporting on your processing or forecasting future changes to your workload is important to you—and we know it is!—it can be difficult or even impossible to get a clear picture of the whole if you have entries in other schedulers or CL programs containing batch processes that aren’t being communicated to your various scheduling solutions. To this we say: one scheduler to rule them all.
2. Remember that granular is good.
Avoid simply scheduling one large CL program that runs 50 other programs. Take it apart and schedule each of the 50 programs. Why? If you need to rerun a job, you can go to the exact job without having to rerun the other 49 jobs.
By breaking out each job, you gain a better understanding and better documentation of your processing. It may seem more complicated at first, but it’s easier in the long run.
1. Use naming conventions for your job names.
Whether you’re scrolling through hundreds or thousands of jobs or just looking at your list of exceptions, you don’t want to have to drill into each one just to figure out what it was supposed to do. A consistent and descriptive naming scheme will offer the initial insight you need and help keep your job schedule tidy.
Tip: Each job in JAMS should follow a naming convention. For example, you might call the end-of-week sales job EOWSALE001.
Efficient job scheduling is all about automation, and we hope these tips help get you there.
While you’re on the journey, stay curious. Think: “If I’m doing this manually, there must be a better way.” Keep an eye out for additional items that you can automate. Let other departments know that you can run things for them automatically.
Working for multiple groups increases the net worth of your IT department. Your operations team becomes an asset for other departments. People learn that even when they go on vacation or are sick, their reports and queries run automatically.
And remember, it’s never too late to automate!