ESP Training Docs With GUI Info
ESP Training Docs With GUI Info
Objective
Overview of ESP Basic ESP Terminology How to use ESP using workstation How to schedule jobs How to monitor jobs
Overview
APPLICATIONS
Application The location of JCL libraries Jobs and job relationship Other work load objects (WOBs)
APPLICATIONS
When other job will run Other job dependencies such as time and resource
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
The type of work to be done When to do the work Submit JCL/Shell scripts Send message to user, console etc Issue an operating system command
EVENT
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.:
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
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
Calendar Manager Event Manager Report Manager Workload Director Workload Editor
CALENDAR MANAGER
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:
CREATE CALENDAR
CREATE CALENDAR
CREATE CALENDAR
WORKLOAD EDITOR
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
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
WORKLOAD EDITOR
EVENT MANAGER
Update events Simulate and trigger an event Test and view the updates Suspend, release, hold and resume events
EVENT MANAGER
Open the Event Manager from ESP workstation On the tool bar click New then new screen appears
Event properties Additional options Run ESP procedures Submit Zos jobs directly Send message Issue command Copy JCL Comments
Once event is created it is displayed and all the tool bar icons are available
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
If there are any errors in the event it will be displayed after simulating
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
Monitor and control flows at application or job level View these flows in custom or graphical view
WORKLOAD DIRECTOR
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
REPORT MANAGER
Create custom reports Save these to files and run them at anytime Save and view the output from these at later stage
REPORT MANAGER
Detailed example
Example
Create an Application
Create an Application
TWS jobs
TWS jobs
Add dependencies
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
Once event is uploaded you need to simulate it to check for any errors
Click ok
If there are any errors in simulation it will give you a pop up message Click yes to view the message
Once the simulation is done it will show you the jobs and the error if there on the right side.
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
Schedule criteria you can choose for what day you want to run depending upon your needs
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
TRIGGER AN EVENT
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
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
WORKLOAD DIRECTOR
Right click the job and select details to see why the job abended
WORKLOAD DIRECTOR
WORKLOAD DIRECTOR
Right click and you will get all the options to the job
You can edit the JCL which will save the JCL or edit copy JCL which will edit 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
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
????
If you have any queries regarding to ESP, Please send out at email to me at [email protected] or [email protected]
THANK YOU