The recommended way to modify the text of a message is to use the National Language Support (NLS) provided with z/OS in MVS Message Services (MMS).
MVS Message Services provides the ability to change the text of messages.
The following example will show how to change the text of one message - ACF00133
There are four components needed to make this change:
********************************* Top of Data ****************************
/*---------------------------------------------------------------*/
/* MEMBER = MMSLSTnn */
/* */
/* PARMLIB MEMBER FOR MVS MESSAGE SERVICE */
/* */
/* DESCRIPTION = THIS PARMLIB MEMBER IS ACCESSED BY SPECIFYING */
/* MMS(nn) ON THE INIT STATEMENT OF THE CONSOLXX */
/* MEMBER OF SYS1.PARMLIB OR BY ISSUING THE */ /* OPERATOR SET MMS=nn COMMAND. */
/* */
/* CHANGE-ACTIVITY = */
/* */
/* $L0=MMS,HBB4410,900629,PDDH: MVS MESSAGE SERVICE */
/* */
/* */ /*---------------------------------------------------------------*/
DEFAULTS LANGCODE(ENU) LANGUAGE LANGCODE(ENU) DSN(yourhlq.MSGENU) CONFIG(CNLENU00) +NAME(ENGLISH)
*******************************Bottom of Data ****************************
********************************* Top of Data ****************************
.**************************************************************
.* Product: CA ACF2 for z/OS *
.* Function: System Messages *
.* Module: ACF00MSG *
.* Language: ENU - U.S. English *
.*------------------------------------------------------------*
.* Copyright (C) 2008 CA, INC. All rights reserved. *
.*------------------------------------------------------------*
.* Notes: *.* 1. Customers can change the text of messages. *
.* However, the message ID, the number of variables, *
.* the token names for the variables, and the content *
.* of the variables cannot be changed. *
.* *
.*------------------------------------------------------------*
.ACF00133 NEW PASSWORD MUST A NATIONAL OR USER-DEFINED CHARACTER &1. (Original)ACF00133 NEW PASSWORDS MUST HAVE CHARACTERS X Y Z &1. (Replacement)
******************************** Bottom of Data *****************************
********************************* Top of Data *****************************
//BATCH1 JOB CLASS=A,MSGCLASS=X,MSGLEVEL=1,NOTIFY=USER01
//DEFINE EXEC PGM=IDCAMS
//volume DD UNIT=3390,DISP=SHR,VOL=SER=volume
//SYSPRINT DD SYSOUT=*
//SYSIN DD * DEFINE CLUSTER (NAME(yourhlq.MSGENU) -
VOLUMES(volume) -
CYL(1 1) -
SHAREOPTIONS(1,3) -
LINEAR) -
DATA (NAME(yourhlq.MSGENU.DATA))
/*
//
******************************** Bottom of Data ***********************
********************************* Top of Data *****************************
//BATCH1 JOB CLASS=A,MSGCLASS=X,MSGLEVEL=1,NOTIFY=USER01
//ASM EXEC PGM=CNLCCPLR,REGION=2048K,
// PARM='ENU,N'
//*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=yourhlq.CAX1MENU
//SYSUT2 DD DISP=SHR,DSN=yourhlq.MSGENU
//
******************************** Bottom of Data ***********************
Issue command SET MMS=nn on the operator console. This will activate the new message text.
Note that only messages that are to be changed are needed in yourhlq.CAX1MENU.
You do not need to include all the messages in ACF2.CAX1MENU.