Running KGUP Using the MVS/ESA Batch Local Shared Resource (LSR) Facility

The MVS/ESA batch LSR subsystem improves performance for random access file processing by reducing the number of inputs and outputs to VSAM data sets. Batch LSR allows a program to use local shared resources rather than non-shared resources. For information about the batch LSR subsystem, see the z/OS MVS, MVS Batch Local Shared Resources information in the appropriate z/OS Information Center, which may be selected from http://www-03.ibm.com/systems/z/os/zos/bkserv/.

VSAM provides a deferred write option on VSAM ACB processing when a program uses shared resources.

By using the batch LSR subsystem and the VSAM deferred write option together, you may improve KGUP performance when adding many keys, for example 10,000 keys, to the CKDS. If your installation has batch LSR and VSAM deferred write, you may improve performance when adding a large number of keys by using different JCL in the KGUP job stream.

Instead of using this CSFCKDS DD statement:
//CSFCKDS DD DSN=cryptographic-key-data-set-name,DISP=OLD
Use these statements:
//CSFALT  DD DSN=cryptographic-key-data-set-name,DISP=OLD
//CSFCKDS DD SUBSYS=(BLSR,'DDNAME=CSFALT',
//           'DEFERW=YES')

You should specify a large amount of storage for the REGION parameter (for example, REGION=32M) on the JOB or EXEC JCL statement. The rest of the JCL statements to run the KGUP job should be in the format that is shown in Figure 1.