ESP(Enterprise Systems Platform)
Basic User Course
Objective
Overview of ESP Basic ESP Terminology How to use ESP using workstation How to schedule jobs How to monitor jobs
Overview
Schedule jobs Manage job dependencies Report on workload Forecast workload
BASIC TERMINOLOGY IN ESP
Application (Similar to CA7 SCHIDS) Events (Active CA7 SCHIDS) Procedures
APPLICATIONS
Application contains a series of statements that identifies: Application The location of JCL libraries Jobs and job relationship Other work load objects (WOBs)
APPLICATIONS
Application also contains statements
which describes:
When other job will run Other job dependencies such as time
and resource
Jobs & WOBs
Applications contains one or more WOBs/Jobs which you select from palette in work load editor ( the below view is like Fstruc in CA7)
EVENT
Event is a basic unit of work Information in an Event describes:
The type of work to be done When to do the work
The function of Event: Submit JCL/Shell scripts Send message to user, console etc Issue an operating system command
EVENT
An event is triggered by: Scheduled date or time Manual trigger Dataset trigger Job monitor or alert trigger
Procedure
Procedure is set of stored instructions that ESP work load manager invokes
You can code an ESP Procedure: In a stored Procedure that you store in a
member of a PDS or PDSE, or in a sequential data set.
In an instream Procedure that you include in an Event, starting with the PROC command and ending with the ENDPROC command.
Procedure
INVOKE command is used to invoke an ESP procedure
E.g.:
EVENT ID(PROD.PAYDAILY)SCHEDULE 4PM WEEKDAYSINVOKE 'CYBER.ESP.PROC(PAYDAILY)'ENDDEF
GETTING STARTED
Product Components
Mainframe server
CONNECTION
You have to be connected to a server to access the existing applications or modify/add new applications.
While connecting for first time you have to add connection.
Once added it will be saved and you can connect to it when you want
CONNECTION
In workstation console click connection manager
CONNECTION
In address box type the IP address or server name
In port box enter the port number In user name and password enter
your TSO user ID and password
ESP Workstation Components
Calendar Manager Event Manager Report Manager Workload Director Workload Editor
CALENDAR MANAGER
From Calendar selection, you can: List and view calendars Create new calendar Add or update holidays and special
days Delete calendar
CREATE CALENDAR
To create calendar open the Calendar Manager from ESP workstation
On Calendar manager click create Under define general info:
Type name in name field In owner field type owner if needed
Under select calendar type select absolute.
CREATE CALENDAR
CREATE CALENDAR
CREATE CALENDAR
WORKLOAD EDITOR
From Workload editor you can: Point and click or drop and drag to
create graphical work flow of your work load
Select WOB and edit it for details such as scheduling etc
Drag job dependencies into place
WORKLOAD EDITOR
In options select workload definition defaults and give the application name, application tag and the default library name
WORKLOAD EDITOR
WORKLOAD EDITOR
The editing control panel are displayed in the top and the WOBs are displayed in bottom
WORKLOAD EDITOR
Drag a WOB from the job palette into workspace.
WORKLOAD EDITOR
Right click and give the job name, details, library and run frequency etc
WORKLOAD EDITOR
Time dependencies
WORKLOAD EDITOR
Notification
WORKLOAD EDITOR
Run frequencies
WORKLOAD EDITOR
WORKLOAD EDITOR
To enable the Dependencies button to create dependencies
WORKLOAD EDITOR
EVENT MANAGER
From event selection you can: Update events Simulate and trigger an event Test and view the updates Suspend, release, hold and resume
events
EVENT MANAGER
CREATE NEW EVENT
Open the Event Manager from ESP workstation
On the tool bar click New then new screen appears
CREATE NEW EVENT
Event properties Additional options Run ESP procedures Submit Zos jobs directly Send message Issue command Copy JCL Comments
CREATE NEW EVENT
CREATE NEW EVENT
Once event is created it is displayed and all the tool bar icons are
available
SIMULATE THE EVENT
Once a new event is created you should test it by simulating it
An event can be simulated by using the simulate button in the upper palette
Or you can right click on the event and click simulate
SIMULATE THE EVENT
SIMULATE THE EVENT
If there are any errors in the event it will be displayed after simulating
SIMULATE THE EVENT
To go back to the edit screen click close Graph.
WORKLOAD DIRECTOR
Provides graphical view of the workload
Enables you to create custom view of workload
View workload that has recently completed, currently running or is scheduled to run
Monitor and control active applications sub-apps and jobs
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
From Workload Director selection, you can: Monitor and control flows at application
or job level View these flows in custom or graphical
view
WORKLOAD DIRECTOR
To view workload you must select subscribe option
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
Creating a filter: Filter can be used to create a
custom view for your convenience In filter criteria box, type the criteria
for the filter You can create as many filter you
want and it will be saved by the workload director
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
Application level commands: In the graphical view, right click to
get application level commands
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
Right click job icon to reveal various job commands.
REPORT MANAGER
From report selection you can: Create custom reports Save these to files and run them at
anytime Save and view the output from these at
later stage
REPORT MANAGER
Example
Detailed example
Create an Application
Define the defaults
Create an Application
Drag and drop the jobs you want to add
Define job properties
Define job properties
TWS jobs
TWS jobs
Add dependencies
UPLOAD THE APP
Once application is created you need to upload it
UPLOAD THE APP
CREATING AN EVENT
CREATING AN EVENT
CREATING AN EVENT
Once event is created it should be uploaded
You will get the following message when uploading for first time
SIMULATE THE EVENT
Once event is uploaded you need to simulate it to check for any errors
SIMULATE THE EVENT
Click ok
SIMULATE THE EVENT
If there are any errors in simulation it will give you a pop up message
Click yes to view the message
SIMULATE THE EVENT
Once the simulation is done it will show you the jobs and the error if there on the right side.
SIMULATE THE EVENT
To go back to the edit screen click close Graph.
TEST THE SCHEDULE CRITERIA
To test the job criteria right click the event and select test schedule criteria
This will help us determine when the jobs will run during the actual run
TEST THE SCHEDULE CRITERIA
Schedule criteria you can choose for what day you want to run depending upon your needs
TEST THE SCHEDULE CRITERIA
Number of cycle is the instances of cycle you want to test
In the below example I want to test for any day and 10 instances
TEST THE SCHEDULE CRITERIA
It will give you result as shown below:
TRIGGER AN EVENT
Right click the event and click Trigger
TRIGGER AN EVENT
Click OK
WORKLOAD DIRECTOR
Open the workload Director Right click and give subscribe no
filter
WORKLOAD DIRECTOR
You can see all the events that have been submitted in that server
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
To check why the job is on hold, right click and details
WORKLOAD DIRECTOR
To release the job from Appl hold right click the application and click release
WORKLOAD DIRECTOR
To release job hold right click the job and select release
Give reason for release and click ok
WORKLOAD DIRECTOR
If the job abends it shows in red
WORKLOAD DIRECTOR
Right click the job and select details to see why the job abended
WORKLOAD DIRECTOR
To get full details click more
WORKLOAD DIRECTOR
Right click and you will get all the options to the job
You can edit the JCL which will save the JCLor edit copy JCL which willedit the copy of JCL in ESP
WORKLOAD DIRECTOR
Once the error is corrected you can right click and resubmit the job
The ESP takes care of resetting the symbolic values in production
In test region you will have to make changes accordingly
WORKLOAD DIRECTOR
Once the job is complete it will change to blue
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
Keep in mind The instances of an application will be
stored in the director under the same folder with different generation
The application will start only if previous generations are completed successfully
QUESTIONS
????
THANK YOU
If you have any queries regarding to ESP,Please send out at email to me at [email protected] or [email protected]