SoftBase is committed to driving a better DB2 development experience. Combining decades of DB2 expertise, innovative testing and DB2 performance-tuning tools and an unmatched customer support and service team, SoftBase helps application developers and DB2 administrators deliver more reliable DB2 applications and create higher performing DB2 software.
Visit www.softbase.com/batch_healthcare_checkpoint.php for more information!
4. SoftBase Checkpoint Facility
What is SoftBase Checkpoint Facility?
Checkpoint Facility Allows You to Restart DB2 Batch
Programs At or Near the Point of Failure
6. SoftBase Checkpoint Facility
Checkpoint Facility
Restart DB2 batch applications at or near point of failure
Modify frequency of Commits and Checkpoints on the fly
Easiest deployment of restart code in the industry
7. SoftBase Checkpoint Facility
SoftBase Checkpoint Facility & MQ
Updates to DB2, MQ, and other RRS compliant
Execute
resources stay in synch with your program's
sequential files and cursor positions, working
storage and random VSAM updates.
Applications can restart at or near the point of
failure after abends, recompiles, and even Rollback
system IPLs -- with all resources in a consistent
state.
8. SoftBase Checkpoint Facility
Checkpoint Facility – How?
Capturing restart data and storing it in a DB2 table so it is
recoverable
Requires no JCL modification to restart, just a resubmit
Notifying the program that a restart is in progress, and then
Reopening and repositioning all input and output sequential files and
restoring working storage
9. SoftBase Checkpoint Facility
Checkpoint Facility – Functionality
Subroutines Fully Supported
I/O Subsystem for Physical Sequential I/O
Extended and Large Format Physical Sequential Files
10. SoftBase Checkpoint Facility
Checkpoint Facility – ISPF Monitor
Active Job
Waiting on Restart
Storage Usage
Frequency Type
Logical Unit of Work Count
Checkpoint Count
11. SoftBase Checkpoint Facility
Checkpoint Facility – IMS Bridge
Checkpoint Facility provides an IMS bridge for applications that use
IMS Symbolic Checkpoint and GSAM files only.
The IMS Bridge eases implementation for shops moving off IMS
licenses.
Few IF ANY code changes are required.
12. SoftBase Checkpoint Facility
Modify Commit Frequency without Code Changes
Intelligently optimize COMMIT frequency to maximize DB2
throughput
o LUWs, Elapsed Time, I/O Activity
Avoid deadlock/timeout situations caused by infrequent COMMITS
13. SoftBase Checkpoint Facility
Checkpoint Facility – VSAM
VSAM KSDS Repositioning
o Support through an API
o VSAM data changes are journaled for restart
o Journal file is self maintaining
14. SoftBase Checkpoint Facility
Checkpoint Facility – Data Sharing
Support Data Sharing Environments
Restart Data Stored in DB2
When on DB2 subsystem in a data sharing group fails, Checkpoint
Facility can restart the application
o From the failed subsystem
o Or any other subsystem in the group
15. SoftBase Checkpoint Facility
Checkpoint Facility Deployment
Program function calls can be inserted by 2 different
methods.
Running Precompiler
o Taking the defaults, or
o Customize via control file parameters
Hand-coding
o Customize placement by hard-coding into source code
16. SoftBase Checkpoint Facility
Checkpoint Compiler Overview
Original
Code Remains
User Application
Unchanged Source Code
WS SCF
Restartable Program
boundaries
Load Module
Inserts code SoftBase
statements into Checkpoint Facility INIS call
source code Pre-Compiler CKPT call
TERM call
Non-DB2
Optional,
for customizing SCF PC file I/O
Control File
17. SoftBase Checkpoint Facility
Checkpoint Facility Deployment
Working Storage.
DBCC-WS-START
~~~~~~~ - - - - - > User defined WS data, including
~~~~~ Open Cursor host variables
DBCC-WS-END
DBR-Variables
Procedure Division.
INIS - - - - -> Loads job/step name key in CKPT_TABLE
& location of WS areas to be saved
L
U CKPT - - - - -> Saves contents of WS to CKPT_TABLE
W & status listing of all active files
TERM - - - - -> Deletes completed job/stepname row
from CKPT_TABLE
SoftBase Batch Health Care Consists of:Attach Facility - DB2 Call Attach which permits DB2 batch applications to be run as native MVS jobstreamsCheckpoint - Checkpoint Facility which permits DB2 batch applications to restart at or near the point of failureBatch Analyzer - DB2 Batch Analysis which pinpoints the most expensive batch applications and SQL statements anywhere in batchDeadLock Advisor - DeadLock-Timeout Reporting that immediately reports on all batch jobs involved in -904/-911 situations.
SoftBase's Checkpoint Facility Facility allows you quickly insert COMMITs and CHECKPOINTS into your DB2 batch job streams - in some instances without even editing your programs. These COMMITs will often speed up DB2 batch programs and also free up DB2 resources for other production jobs that are running at the same time. After COMMITS are added to your DB2™ batch programs, Checkpoint Facility allows you to quickly restart any abended production job from the point of failure.