A webservice calling a CICS assembler program returns the error "ACF61003 INVALID KEY - PWPHRASE". The CICS program uses ACFAEUCP and succeeds when inserting logonids with passwords, but fails when inserting logonids with a passphrase. Passing the same commands via TSO ACF command interface succeeds.
Component : ACF2 for z/OS
The ACALT svc request that is being issued is used to insert logonid records including fields within the logonid record. However, PASSWORD, NAME etc are fields that are defined in the logonid record. When a pwphrase is to be added the field is not added to the logonid record, it is added to the profile record after setting this mode:
SET PROFILE(USER) DIV(PWPHRASE)
The site CICS application must issue two separate SVC calls to ACF2:
Details of the acntry acfsvc call can be found in ACF2 documentation section Infostorage Record Management (ACNTRY)
A much easier method of issuing this command is to issue an r_admin callable service pgm IRRSEQ00 with function 05 (run_cmnd) request which allows you to issue a very simple command without having to issue any ACFSVC calls. The details of that request are provided in the IBM documentation. The format of the command input would be the same as entered in the ACF command processor.