tss add group and profile in the same commande

Document ID : KB000103502
Last Modified Date : 04/07/2018
Show Technical Document Details
Issue:
In this document https://comm.support.ca.com/kb/convert-z-os-2-3-member-izusec-from-racf-to-tss-commands/kb000095769
It's written : TSS CRE(IZUADMIN) NAME('IZUADMIN PROFILE') TYPE(PROFILE) DEPT(dept) /* You cannot add GROUP to a PROFILE acid in TSS.
When you add /* IZUADMIN to an acid, you will also need to attach IZADMNGP also.
/* Example: TSS ADD(acid) PROFILE(IZUADMIN) GROUP(IZADMNGP)
In TSS DOC : Note: The GROUP and PROFILE keywords cannot be used in the same TSS commands.
The keywords are interchangeable and coding GROUP() removes both GROUPS and PROFILE.
So according to the doc, this command is not correct : TSS ADD(acid) PROFILE(IZUADMIN) GROUP(IZADMNGP)
Environment:
z/os
Cause:
Confusion on command formats
Resolution:
TSS ADD(myacid) PROF(myprof,mygroup) will add to 'myacid' 'myprof' as a profile and 'mygroup' as a group. myprof being a true profile type acid and mygroup a true group type acid. It works in the same way with the REMove command.