24
1 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution. October 2015 © 2015 CA. All rights reserved. CA WA CA 7 Running Database Jobs Bill Sherwin Senior Principal Consultant EMEA Workload Automation Team

Running Database Jobs with CA 7 and the CA Workload Automation Agent for Databases - CA Workload Automation Technology Summit (WATS) 2015

Embed Size (px)

Citation preview

1 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

October 2015

© 2015 CA. All rights reserved.

CA WA CA 7 Running Database Jobs

Bill Sherwin Senior Principal Consultant EMEA Workload Automation Team

2 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

Installed as a Plug-In to base CA WA Agent System Agent

Uses a second CA WA Agent license

Officially supports Oracle, MSSQL and DB2

Provides 4 Database Job Types

– Monitor and Trigger

– Execute Stored Procedure

– Execute SQL Query

CA Workload Automation Database Agent

3 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

Basic Job Definition Page similar for all WA Agent jobs (AGJOB)

Specific Parameters for each WA Agent Job Type

Use CA 7 Web Client for Forms Editor

Creates Specific Job Type Parameters

Saved in Parmlib (JCL number) library member

Can create manually in 3270 – use IAS User Guide

Database Job Creation

4 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Select Job Type

5 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Job Definition Basic Page

6 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

3270 Select Job Type – DB.A

7 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

3270 DB Job Basic Defintion

8 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

Database Monitor Job

– Increase or decrease in number of rows

– Performed on a polling interval

Database Trigger Job

– Add, delete and/or update to rows

– Additionally define conditions of change

Database Monitor and Trigger

9 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

Oracle

MS SQL

DB2 UDB

Use different jdbc settings for database type

– Oracle - jdbc:oracle:thin:@host:port:dbname

– MS SQL - jbdc:sqlserver://host:port;DatabaseName=dbname

– DB2 UDB - jdbc:db2://host:port/dbname

Multiple Database Type Support

10 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Forms Editor DB Monitor

11 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Parameters DB Monitor

12 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

3270 DB Monitor Job Parameters

13 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Forms Editor DB Trigger

14 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Parameters DB Trigger

15 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

3270 DB Trigger Job Parameters

16 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Forms Editor DB Stored Procedure

17 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Parameters DB Stored Procedure

18 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

3270 DB Stored Procedure Job Parameters

19 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Forms Editor DB SQL Query

20 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

CA 7 Web Client Parameters DB SQL Query

21 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

3270 DB SQL Query Job Parameters

22 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

Supports Oracle, MS SQL and DB2

UDB

CA 7 Web Client Forms Editor

simplifies definitions

Parameters saved as “JCL” member

Can be managed and promoted

through Change Control

Requires Database Agent plug-in

CA Workload Automation Database Agent Jobs Summary of Functions

23 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

EMEA Workload Automation Team Contacts

– Bill Sherwin

EMEA Workload Automation

[email protected]

– Chris Elvin

EMEA MSC for WA

[email protected]

– Pascal Champenois

EMEA Workload Automation

[email protected]

– Simon Pearson

EMEA MSC for WA

[email protected]

24 © 2015 CA. All rights reserved. CA confidential and proprietary information. No unauthorized use, copying or distribution.

Any Further Questions?