I received a certificate from an outside source, when trying to do a CHKCERT or INSERT of the certificate I am getting message "ACF68027 Error during data set OPEN", what is causing this?

Document ID : KB000020524
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The TSO ACF command processor can be used to CHKCERT or INSERT a certificate from a z/OS dataset. A certificate from an outside source can be FTP'd to z/OS or cut and pasted into a z/OS dataset. Using ACFBATCH can also be used within the JES batch environment.

Solution:

A certificate from an outside source should be FTP'd or cut and pasted into a pre-allocated z/OS dataset with a specific DCB format. The file should be variable blocked(VB), LRECL 84 with a blocksize that is a multiple of 84. For example, DCB in a batch job would look like:

 	// DCB=(RECFM=VB,LRECL=84,BLKSIZE=6216) 

If the DCB information is not correct the TSO, ACF CHKCERT and INSERT commands will fail with the "ACF68027 Error during data set OPEN" error.