Sessions, workflows, and templates
Transaction Analysis Workbench offers an optional framework for analyzing problems in sessions. A session encapsulates information about a problem and the analysis of that problem. This information can include the time period in which a problem occurred, the systems involved, and the corresponding log files.
A session can also describe a sequence of tasks for analyzing a problem. This sequence of tasks is known as a workflow.
When creating a session for a problem, you can optionally select a session template. A session template is a blueprint for a session.
Sessions
You can use Transaction Analysis Workbench without using sessions, and analyze problems using ad hoc sets of log files instead. However, using sessions offers the following advantages that make it easier to manage problems and collaborate with other users:
A session contains the following information about a problem:
- A unique identifier, known as a session key
- Optional metadata to help you track, assign, and share the analysis:
- A one-line summary
- A multi-line description
- When the problem occurred
- The systems involved
- The problem severity (a number)
- The problem status, such as open or closed
- Who reported the problem
- Who the problem is currently assigned to
- A reference to an entry in your enterprise's problem tracking system
- A list of associated log files
- A history consisting of jobs that have been run for the session, notes that you or other users have written about the session, and tags that bookmark a position in the log browser.
Workflows
A session workflow consists of a sequence of two types of task: batch job tasks and note tasks. Batch job tasks contain JCL; note tasks contain instructions or tips for the user.
A typical workflow consists of the following sequence of tasks:
A session workflow has the following two purposes:
You can run batch job tasks individually or you can schedule multiple tasks to run in sequence.
Each task has a status. When a batch job task completes, Transaction Analysis Workbench updates the task status to reflect the job completion code. You can also change the status of tasks manually.
You can use Transaction Analysis Workbench to automatically create batch job tasks that select log files for systems, and then create extracts and transaction indexes from those log files, according to the time period of the problem.
Batch job tasks include a step that saves the task sysout data sets as members of a library data set, enabling you to view the output even when the original job is purged. You can view the output in the Transaction Analysis Workbench ISPF dialog or plug-in.
Session templates
When you create a session for a problem, you can optionally select a template. The session inherits details from the template. A session template offers a starting point and guidance for analyzing a particular type of problem, such as a problem with a particular application.
Typically, a session template contains at least the following details:
- The systems that are involved in an application
- Workflow tasks to select the log files for those systems, and then create extracts and transaction indexes from those log files, according to the time period of the problem
To create a template, you can either start with a new, blank template or save an existing session as a template.
Subject-matter experts create session templates to help other users, such as help desk staff or other first responders, begin to analyze a problem themselves; or at least, to select the log files necessary for analysis, rather than immediately assigning the problem to an expert.