Running DDUPDATE fails with message:
**** ERROR **** RETURN CODE = DDPUNA0001 USER NOT AUTHORIZED
Release : 15.1
Component : CA Datacom
Normally the reason for the error is that the user specified int he -USR card does not have the Security Administrator authorization, $DD-ADM in their profile.
To report on users with this authorization, run DDUPDATE or DDUTILTY in batch using the following transactions:
-USR DATACOM-INSTALL,NEWUSER
-DEF PATH,STANDARD
-END
-RPT RELAT,AUTHORIZATION,$DD-ADM(PROD,PRIV)
-END
Check the report to see if user is listed or not.
If not listed, the user does not have Security Administrator authorization.
Run DDUPDATE with the following transactions to add the authorization.
//UPDATE EXEC PGM=DDUPDATE,REGION=4M
//STEPLIB DD DISP=SHR,DSN=DATACOM.CUSLIB
// DD DISP=SHR,DSN=DATACOM.CABDLOAD (or CAAXLOAD for AD)
//DDSNAP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPUNCH DD DUMMY
//SYSPRINT DD SYSOUT=*
//SNAPER DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
-USR DATACOM-INSTALL,NEWUSER
-UPD PERSON,userid(PROD,DD)
1010 ADD $DD-ADM
-END
/*
The run the batch utility DDCFBLD with -HSD RESET.
//RESET EXEC PGM=DDCFBLD,REGION=4M
//STEPLIB DD DISP=SHR,DSN=DATACOM.CUSLIB
// DD DISP=SHR,DSN=DATACOM.CABDLOAD (or CAAXLOAD for AD)
//DDSNAP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPUNCH DD DUMMY
//SYSPRINT DD SYSOUT=*
//SNAPER DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
-USR DATACOM-INSTALL,NEWUSER
-HSD RESET
/*