Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Using the vsam2db2 utility z/OS Cryptographic Services PKI Services Guide and Reference SA23-2286-00 |
|||||||||
PurposeThe vsam2db2 program copies data from the issued certificate list (ICL) and object store VSAM data sets into DB2® tables. Use this utility if you have been using VSAM data sets for the ICL and object store and want to use DB2 tables instead. Run vsam2db2 when PKI Services is not running. You must create the DB2 tables before you run vsam2db2. For more information, see Converting the object store and ICL from VSAM to DB2. Path setupUpdate your PATH, LIBPATH, and
NLSPATH environment variables with the appropriate pkiserv directory
before you run vsam2db2. (Note that you are updating
the environment variables for the user running the utility, not updating
values in the PKI Services environment
variables file, pkiserv.envars.) Once you have updated
these variables, you can run vsam2db2 from the UNIX command line.
Format
Parameters
ExamplesIn this sample script, the object
store for the domain MasterCA is in the VSAM file pkisrvd.vsam.ost,
and the ICL is in the VSAM file pkisrvd.vsam.icl.
They are to be copied to DB2 tables
in the DB2 subsystem DSN9 and
the DB2 package MasterCA. The
VSAM data sets are to be opened in RLS mode. All records in the VSAM
data sets are to be copied, including those for completed requests
and expired certificates.
OutputAs the vsam2db2 utility runs, it reports its progress. For every 2000 records copied from VSAM data sets to DB2 tables, the utility reports the total number of records copied. If an error occurs, vsam2db2 displays a count of processed records and a count of copied records. (If -a is specified, these counts should be the same.) |
Copyright IBM Corporation 1990, 2014
|