Top Banner
IBM eServer J iSeriesJ 8 Copyright IBM Corporation, 2003. All Rights Reserved. This publication may refer to products that are not currently available in your country. IBM makes no commitment to make available any products referred to herein. Session: IBM Advanced Job Scheduler Sue Townsend [email protected] IBM eServer iSeries  © 2003 IBM C orporation Getting started Why you need advanced scheduling How you install the software What interface is right for you Where you can get more information Using IBM Advanced Job Scheduler Scheduling reoccurring work Handling job dependencies Notifying operator of status Accessing more advanced options Table of Contents Last Updated: October 2002 1-2
29

advjobsched

Apr 05, 2018

Download

Documents

Maran Ganapathy
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 1/29

IBM eServerJ iSeriesJ

8Copyright IBM Corporation, 2003. All Rights Reserved.

This publication may refer to products that are not currentlyavailable in your country. IBM makes no commitment tomake available any products referred to herein.

Session:

IBM Advanced Job Scheduler

Sue Townsend

[email protected]

IBM eServer iSeries

 © 2003 IBM C orporation

Getting startedWhy you need advanced scheduling

How you install the software

What interface is right for you

Where you can get more information

Using IBM Advanced Job SchedulerScheduling reoccurring work

Handling job dependencies

Notifying operator of status

Accessing more advanced options

Table of Contents

Last Updated: October 2002

Page 2: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 2/29

IBM eServer iSeries

 © 2003 IBM C orporation

Scheduling Functions OS/400 Scheduler Advanced Job Scheduler

Multiple Times per day

Specific days of week

Specific dates of year  

Specific dates of month PartialLast day of the month

Every nn minutes

First working day of the month

Last working day of the month

Based on user-defined calendar of days

Based on fiscal calendar

Multiple holiday calendars

Starting and ending date

Selected Monday of the month

Predefined schedules

Dependencies

Job Group (Job 1 runs, then Job2, etc)

Job dependencies (Job1 and Job2 must run before job 3)Object dependencies (checked before submitted)

Active job dependencies

Alternate job dependencies

Extras

Dynamic user-defined parametersSystem Parameters

Executes multiple commands per job

Report distribution

Automatic job creation from existing software

User-defined library list

Forecast Reporting of jobs to be run

Console monitor mode for jobs in restricted state

Why you need advanced scheduling

IBM eServer iSeries

 © 2003 IBM C orporation

Why you need advanced scheduling

Scheduled JobAny function that can be submitted as an OS/400 job

One / multiple CL commandCan include defined pre and post command lists

Has a unique name

Can be passed parameters

Supported by commands: create, delete, modify, run, hold, work with, ...

Can be run on any AS/400 or iSeries system in the network

Default meaning of "Job" in this presentation

Job Group

A series of jobs that run consecutively, each with a sequence number

Normal completion is required for each job for sequence to continue

First job of a group is scheduled, held, ...

What can I schedule? 

Last Updated: October 2002 3

Page 3: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 3/29

IBM eServer iSeries

 © 2003 IBM C orporation

Server (iSeries)Product Information:

Available on stacked media57xx-JS1

Try-and-Buy

70 Day Free Trial

Available on the stacked media

Install methodsMenus

Obtain proper media (tape or cd)

GO LICPGM (return)Selection option 11 (return)

Scoll down, place a 1 by 5722JS1 *BASE (return)

Continue filling in the panels (confirm, device....)

Command Line

Obtain proper media (tape or cd)RSTLICPGM LICPGM(5722JS1) DEV(yourDev)

How you install the softwareiSeries 

IBM eServer iSeries

 © 2003 IBM C orporation

How you install the software

Graphical User InterfaceRequires iSeries Navigator

Install Plug-in

Initial scanManual scan

Windows PC 

Last Updated: October 2002 5

Page 4: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 4/29

IBM eServer iSeries

 © 2003 IBM C orporation

OR

Selective Setup or Install Plug-ins 

How you install the software

IBM eServer iSeries

 © 2003 IBM C orporation

How you install the softwareSelective Setup or Install Plug-ins 

Last Updated: October 2002 7

Page 5: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 5/29

IBM eServer iSeries

 © 2003 IBM C orporation

Graphical

Menus

Commands

Use what isright for you

What interface is right for you

IBM eServer iSeries

 © 2003 IBM C orporation

 

Job commands1. Add job using Job Scheduler

2. Change job using Job Scheduler

3. Copy job using Job Scheduler

4. Display job using JS5. Hold job using Job Scheduler

6. Release job using JS7. Remove job using Job Scheduler

8. Rename job using Job Scheduler

9. Submit job using Job Scheduler

10. Work with jobs using JS

History commands

20. Display history using JS21. Remove history using JS

22. Work with history using JS

Log commands30. Display log for Job Scheduler

31. Remove log entries from JS

Other commands40. Change job authority using JS41. Change parameter data

42. Change pager command using JS43. End Job Scheduler

44. Print schedule using JS

45. Submit console command

46. Set dependent job using JS47. Send reports using JS

48. Start group using JS49. Start Job Scheduler

Graphical iSeries Navigator Plug-in

Located in Job / Work Management branch of navigation treeAlso in Management Central hierarchy

Traditional 5250 MenusStart with GO JS command

OS/400 Command Language

User definable parameter

Local Data Area support

Notes: What interface is right for you

Last Updated: October 2002 9-

Page 6: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 6/29

IBM eServer iSeries

 © 2003 IBM C orporation

Product Websitehttp://www.ibm.com/servers/eserver/iseries/jscheduler/ 

Product Information

Technical Information and PTFs

Job Scheduler Education

Contact Us

AS/400 Support Line

Information Center

http://publib.boulder.ibm.com/html/as400/infocenter.html

Online articles - Search for 'Advanced Job Scheduler '

Online publications - Search for 'SC41-5324-00'

Where you can get more information

IBM eServer iSeries

 © 2003 IBM C orporation

Using IBM Advanced Job Scheduler 

Last Updated: October 2002 11-

Page 7: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 7/29

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

Process Payroll

(Exec Assits.)

Finalize PayrollProcess Payroll(Management)

Objective

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(Management)

Scheduling reoccurring work 

Last Updated: October 2002 13-

Page 8: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 8/29

IBM eServer iSeries

 © 2003 IBM C orporation

New Scheduled Job...

Scheduling reoccurring work

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(Management)

General Information 

Scheduling reoccurring work

Last Updated: October 2002 15-

Page 9: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 9/29

IBM eServer iSeries

 © 2003 IBM C orporation

call payroll/mgmt parm(&QMM)

Allow multiple addswithout closing window

Add Command

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(Management)

Date

Time

Schedule 

Scheduling reoccurring work

Last Updated: October 2002 17-

Page 10: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 10/29

IBM eServer iSeries

 © 2003 IBM C orporation

On specific timeSelect one time of day

Example

always at 11:30pm

Periodically

Frequency by hour or minute

Timeframe for frequency

Example:

every 1 hourfrom 8:00pm to 11:00pm

Times to run

IBM eServer iSeries

 © 2003 IBM C orporation

Dates to run

Last Updated: October 2002 19-

Page 11: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 11/29

IBM eServer iSeries

 © 2003 IBM C orporation

Dates to run (cont...)

IBM eServer iSeries

 © 2003 IBM C orporation

But how do Icreate them?

Selecting Calendars...

Last Updated: October 2002 21-

Page 12: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 12/29

IBM eServer iSeries

 © 2003 IBM C orporation

>> go js

(options 4) 

Creating Calendars...

IBM eServer iSeries

 © 2003 IBM C orporation

Days ofWeek

Monthly

Yearly

Date(s)

Relative / Absolute

Workdays

FiscalCalendars

Start / End

Date / Time

PersonalCalendars

Holiday

Calendars

Specific Times / Periodically

On EventsNOW! 

1

2

3

4567

8

9

10

11 12

Many options! 

Scheduling reoccurring work

Last Updated: October 2002 23-

Page 13: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 13/29

IBM eServer iSeries

 © 2003 IBM C orporation

ADDJOBJS JOB(PAY_MGMT)TIME(1730) DAY(*SAT)TEXT('Process Payroll')

Process Payroll(Management)

Everything ready...

Scheduling reoccurring work

IBM eServer iSeries

 © 2003 IBM C orporation

Job Name: Pay_mgmt

Status: Ready to run

Next Run: 10/5/2002 5:30PM

Are there other ways toschedule?

Scheduling reoccurring workSetup complete 

Last Updated: October 2002 25-

Page 14: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 14/29

IBM eServer iSeries

 © 2003 IBM C orporation

Job Groups

A sequence of jobs with a single schedule

Job DependenciesA "directed graph" of predecessors and successors jobs

Specify *ANY or *ALL predecessors must be complete

Specify if normal completion is required

Resource Dependencies

System objects

Configuration status

Network files

Subsystems

Active DependenciesA list of jobs that cannot be active for the selected job to run

Alternate JobsJobs that run due to the abnormal end of a scheduled job

Operator Action

Event-based Scheduling

IBM eServer iSeries

 © 2003 IBM C orporation

Handling job dependencies 

Last Updated: October 2002 27-

Page 15: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 15/29

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

New based on... Select item

Create another scheduled job 

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

Job name

Description

Commands

Handling job dependenciesMake changes 

Last Updated: October 2002 29-

Page 16: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 16/29

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

Add the dependency 

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

Select your dependencies 

Handling job dependencies

Last Updated: October 2002 31-

Page 17: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 17/29

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

Select your dependencies 

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

All or At Least One

All Dependencies

Handling job dependencieszViewing the dependencies 

Last Updated: October 2002 33-

Page 18: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 18/29

IBM eServer iSeries

 © 2003 IBM C orporation

Create 'Exec' process

Use New Based on...

Copies schedule

Copies dependencies

Process

Payroll (IT

Dept)

Process

Payroll (Exec

Assits.)

Process Payroll(Management)

Job dependencies completed 

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Finalize Payroll

One more time...

Multiple dependencies 

Handling job dependencies

Last Updated: October 2002 35-

Page 19: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 19/29

IBM eServer iSeries

 © 2003 IBM C orporation

>> go js

(options 1)(option 10) 

Multiple Predecessors

Finalize Payroll

Add multiple job dependencies 

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Finalize Payroll

Direct dependency

Nested dependency

Viewing multiple dependencies 

Handling job dependencies

Last Updated: October 2002 37-

Page 20: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 20/29

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(Management)

Viewing the successors 

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Process Payroll(IT Dept)

Process Payroll(Exec Assits.)

Finalize PayrollProcess Payroll(Management)

Are there otherways?

Dependency flow complete! 

Handling job dependencies

Last Updated: October 2002 39-

Page 21: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 21/29

IBM eServer iSeries

 © 2003 IBM C orporation

Schedule associated with Group

Groups can be run, held, resequenced, ...Jobs can run on same or different systems

JOB2

JOB3

JOB1

1

2

3

45

67

8

9

10

11 12

Using a job group...

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Example using a job group 

Handling job dependencies

Last Updated: October 2002 41-

Page 22: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 22/29

IBM eServer iSeries

 © 2003 IBM C orporation

Group Job Properties 

Missing Scheduling PropertiesAdded...

Group Name (view only)

Group Description (view only)

Same...

Name

Description

Command

Application

Report Distribution List

and more...

Handling job dependencies

IBM eServer iSeries

 © 2003 IBM C orporation

Notifying operator of status 

Last Updated: October 2002 43-

Page 23: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 23/29

IBM eServer iSeries

 © 2003 IBM C orporation

What pager?

Setting the notification properties 

Notifying operator of status

IBM eServer iSeries

 © 2003 IBM C orporation

Customizing notification program

Defining notification program 

Notifying operator of status

Last Updated: October 2002 45-

Page 24: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 24/29

IBM eServer iSeries

 © 2003 IBM C orporation

Defining notification program (cont...)

Notifying operator of status

IBM eServer iSeries

 © 2003 IBM C orporation

Accessing more advanced options 

Last Updated: October 2002 47-

Page 25: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 25/29

IBM eServer iSeries

 © 2003 IBM C orporation

Report DistributionID

NameDescription

RecipientNamePhone NumberOrganizationalInformationDefault OutputQueueDays to receive

JOB2

JOB1

RecipientOutput queueCopies

Form typeUser ID / AddressHold spooled fileSave spooled filePrint banner

Report DistributionEntry

Spooled fileProgram nameUser dataRemove spooledfile (*YES/*NO)

How can I manage the output from all these jobs? 

Accessing more advanced options

IBM eServer iSeries

 © 2003 IBM C orporation

Customizeuntil yourhearts

content!!!

Properties - Batch 

Accessing more advanced options

Last Updated: October 2002 49-

Page 26: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 26/29

IBM eServer iSeries

 © 2003 IBM C orporation

Maximum Time

Error Handling

Messages

Properties - Recovery 

Accessing more advanced options

IBM eServer iSeries

 © 2003 IBM C orporation

>> go js

(options 1)

(option 22) 

Resource Dependencies 

Accessing more advanced options

Last Updated: October 2002 51-

Page 27: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 27/29

IBM eServer iSeries

 © 2003 IBM C orporation

Resource Dependencies - details 

Accessing more advanced options

IBM eServer iSeries

 © 2003 IBM C orporation

What has beengoing on?

Activity & Activity Log 

Accessing more advanced options

Last Updated: October 2002 53-

Page 28: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 28/29

IBM eServer iSeries

 © 2003 IBM C orporation

Not now...

Forget it...

NOW!

On the fly actions...

Accessing more advanced options

IBM eServer iSeries

 © 2003 IBM C orporation

 

Getting startedWhy you need advanced scheduling

How you install the software

What interface is right for you

Where you can get more information

Using IBM Advanced Job SchedulerScheduling reoccurring work

Handling job dependencies

Notifying operator of status

Accessing more advanced options

Summary

Last Updated: October 2002 55-

Page 29: advjobsched

8/2/2019 advjobsched

http://slidepdf.com/reader/full/advjobsched 29/29

IBM eServer iSeries

 © 2003 IBM C orporation

Trademarks and Disclaimers8 IBM Corporation 1994-2003. All rights reserved.References in this document to IBM products or services do not imply that IBM intends to make them available in every country.

The following terms are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both:

Lotus and SmartSuite are trademarks of Lotus Development Corporation and/or IBM Corporation in the United States, other countries, or both.

MMX, Pentium, and ProShare are trademarks or registered trademarks of Intel Corporation in the United States, other countries, or both.Microsoft and Windows NT are registered trademarks of Microsoft Corporation in the United States, other countries, or both.Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.SET and the SET Logo are trademarks owned by SET Secure Electronic Transaction LLC.C-bus is a trademark of Corollary, Inc. in the United States, other countries, or both.UNIX is a registered trademark of The Open Group in the United States and other countries.Other company, product or service names may be trademarks or service marks of others.

Information is provided "AS IS" without warranty of any kind.

All customer examples described are presente d as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs andperformance characteristics may vary by customer.

Information in this presentation concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources anddoes not constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performanc e numbers are taken from publicly available information, including vendorannouncements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, or any other claims related to non-IBMproducts. Questions on the capability of non-IBM products should be addressed to the supplier of those products.

All statements regarding IBM future direction and intent are subject to change or withdrawa l without notice, and represent goals and objectives only. Contact your local IBM office or IBMauthorized reseller for the full text of the specific Statement of Direction.

Some information in this presentation addresses anticipated future capa bilities. Such information is not intended as a definitive statement of a commitment to specific levels ofperformance, function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented here tocommunicate IBM's current investment and development activities as a good faith effort to help with our customers' future planning.

Performance is based on measurements and projections using standa rd IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experiencewill vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed.Therefore, no assurance can be given that an individual user will achieve throughput or performance improvements equivalent to the ratios stated here.

Photographs shown are of engineering prototypes. Changes may be incorporated in production models.

AS/400 IBM

AS/400e IBM (logo)

eServer iSeries

OS/400