Reset Profile Attributes (QSYRESPA) API


  Required Parameter:

1 Error code I/O Char(*)

  Default Public Authority: *USE

  Threadsafe: Yes

The Reset Profile Attributes (QSYRESPA) API resets four attributes of system-supplied user profiles. Only system-supplied user profiles that cannot be changed using the Change User Profile (CHGUSRPRF) command are modified by the QSYRESPA API.

The following user profile attributes are reset:


The following system supplied user profiles have their attributes reset:

     QANZAGENT   QAUTPROF    QCLUMGT     QCLUSTER    
     QCOLSRV     QDBSHR      QDBSHRDO    QDFTOWN     
     QDIRSRV     QDLFM       QDOC        QDSNX       
     QFNC        QGATE       QIBMHELP    QIPP        
     QLPAUTO     QLPINSTALL  QMGTC       QMSF        
     QNTP        QPEX        QPM400      QSNADS      
     QSPL        QSPLJOB     QSRVAGT     QTCM  
     QTCP        QTFTP       QTSTRQS     QYCMCIMOM   
     QYPSJSVR

If errors are encountered processing an individual user profile, diagnostic message CPD22BD is issued and processing continues with the next user profile. If any profiles cannot not be processed, escape message CPF22F0 is sent to notify the caller to look at the diagnostic messages.


Authorities and Locks

The caller of the API must have *SECADM and *ALLOBJ special authorities.


Required Parameter

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages

Message ID Error Message Text
CPF222E E &1 special authority is required.
CPF2225 E Not able to allocate internal system object.
CPF3C36 E Number of parameters, &1, entered for this API was not valid.
CPF3CF1 E Error code parameter not valid.
CPF3C90 E Literal value cannot be changed.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V4R5

[ Back to top | Security APIs | APIs by category ]