Does the SET PROFILE(USER) DIV(CERTDATA) command have to be issued before a GENCERT, GENREQ, or CHKCERT command is issued?
search cancel

Does the SET PROFILE(USER) DIV(CERTDATA) command have to be issued before a GENCERT, GENREQ, or CHKCERT command is issued?

book

Article ID: 25675

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC

Issue/Introduction

Examples in the ACF2 documentation for the use of the GENCERT, GENREQ, and CHKCERT commands do not show an ACF command mode being set. Why don't these commands require the SET PROFILE(USER) DIV(CERTDATA) command first?

Environment

Release:
Component: ACF2MS

Resolution

The SET subcommand identifies the record format to the ACF command processor. The GENCERT, GENREQ, and CHKCERT commands apply only to digital certificates. They do not relate to any other kind of ACF2 database record so the set is not required for these commands.

The SET PROFILE(USER) DIV(CERTDATA) command is required prior to an INSERT or DELETE command for a CERTDATA record because INSERT and DELETE commands are not specific to a particular database or type of record - but it is NOT required for GENCERT, GENREQ, or CHKCERT commands.