Default language.

Sample JCL to create a key ring for CA ACF2


Use the following sample JCL to create a key ring for use with CA ACF2:

[yourJobCardHere]
//ACFJOB EXEC PGM=ACFBATCH
//SYSPRINT DD SYSOUT=*
//SYSLBC DD DISP=SHR,DSN=yourDataSetName
//SYSHELP DD DISP=SHR,DSN=yourDataSetName
//SYSIN DD *
 SET PROFILE(USER) DIV(KEYRING)

 INSERT yourUserID RINGNAME(yourKeyRingName)

 CONNECT CERTDATA(yourUserID) LABEL(yourCertificateLabel) -
        KEYRING(yourUserID) RINGNAME(yourKeyRingName) -
        DEFAULT USAGE (PERSONAL)
//

The following information explains this JCL:

Statement

Description

yourUserID
(User ID for INSERT)

User ID with which to associate the certificate

CA ACF2 generates suffixes for each key ring and associates each one to this user ID.

RINGNAME
(Key ring name for INSERT)

Unique name for your key ring

yourUserID
(User ID for CONNECT)

User ID, suffixed if appropriate, that is associated with your CA-signed certificate

LABEL

Same label that you used for your CA-signed certificate when importing the certificate

yourUserID
(User ID for KEYRING)

Same user ID value, suffixed if appropriate, that you specified for the INSERT command in this job

RINGNAME
(Key ring name for KEYRING)

Same name that you specified for the INSERT command in this job

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*