CHGSGNERRT CHANGE SIGNON ERROR TEXT TAASEIY |
The Change Signon Error Text tool allows changing of the error
message text for the two invalid signon messages. CHGSGNERRT changes
the text to a common value. The default text is 'Invalid signon.'
The RSTSGNERRT command restores the message text to the original
values if needed.
Supplying less information is more secure than the system messages
which describe the specific error such as 'Password not correct for
user profile' or 'User name does not exist'.
The message IDs changed are CPF1107 and CPF1120.
You must have *ALLOBJ special authority to use CHGSGNERRT.
The text of the message may be changed to meet your requirements.
The default would be:
CHGSGNERRT ERRTXT('Invalid signon.')
The CPF1107 and CPF1120 messages would be changed to 'Invalid
signon.'. The SECMSG file would be created in TAASECURE with the
text of the original messages. The RSTSGNERRT command may be used to
reset the messages to the original values.
Recovery in the event of error
------------------------------
In the event that the SECMSG message file becomes damaged or the
messages cannot be found, the basic text could be entered as follows:
CHGMSGD MSGID(CPF1107) MSGF(QCPFMSG)
MSG('Password not correct for user profile.')
CHGMSGD MSGID(CPF1120) MSGF(QCPFMSG)
MSG('User &1 does not exist.')
CHGSGNERRT escape messages you can monitor for
----------------------------------------------
None. Escape messages from based on functions will be re-sent.
CHGSGNERRT Command parameters *CMD
-----------------------------
ERRTXT The error text to be used for the messages CPF1107
and CPF1120.
The default is 'Invalid signon.'.
Restrictions
------------
You must have *ALLOBJ special authority to use CHGSGNERRT..
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKALLOBJ Check *ALLOBJ special authority
DUPMSGD Duplicate Message Description
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CHGSGNERRT *CMD TAASEIY QATTCMD
RSTSGNERRT *CMD TAASEIY2 QATTCMD
TAASEIYC *PGM CLP TAASEIYC QATTCL
TAASEIYC2 *PGM CLP TAASEIYC2 QATTCL
Structure
---------
CHGSGNERRT Cmd
TAASEIYC CL pgm
RSTSGNERRT Cmd
TAASEIYC2 CL pgm
|
Added to TAA Productivity tools October 15, 2011