[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Understanding the Diagnostic Subsystem for AIX

Example Diagnostic Application Message File

$
$   COMPONENT_NAME: DAXYZ
$
$   FUNCTIONS: dxyz.msg - message file for screen display when diagnostic
$                         application dxyz is invoked.
$
$   Compilation: Use AIX command mkcatdefs to create header file containing
$                symbols for use in C source code.
$ GENERAL NOTES FOR TRANSLATION PURPOSES
$
$ Do not translate %c, %d, %s, %x, %07X, or \t in any messages.  They
$   are used for word or number substitution and are noted in the
$   comments for the individual messages.  The 1$, 2$, 3$, etc,
$   within the substitutions are used to denote the order of the
$   substitutions.
$
$ These comments concern the TITLE LINES at the top the diagnostic screen.
$   The title must be in all capital letters. The first line
$   of the title cannot be longer than 65 characters starting from 
$   column 1.  If the line is greater than 65, it may be continued on
$   the next line.  Leave line spacing as shown:  one blank line after
$   the last title line.  For example:
$
$ *****
$ TESTING PORT 12 OF THE 16-PORT ASYNCHRONOUS ADAPTER IN PLANAR SLOT 2
$ IN ADVANCED MODE
$
$ Please stand by.
$ *****
$
$ These comments concern the user ACTIONS in all caps.
$   If translations require the creation of new lines, begin the
$   new lines in the column immediately following the row of periods. 
$   For example:
$
$ *****
$ ACTION.........one line of English might require several when translated, so
$                begin the next line at the same point of the previous line.
$ ACTION.........the next action follows with no blank line preceding it.
$ *****
$
$ The location of a resource is in the form of xx-xx-xx where x is an
$   alpha-numeric character.  The location is not translatable.  It is
$   an alpha-numeric descriptor of where the resource can be found.
$
$ END OF GENERAL NOTES
$set DESC
$quote "
$ 
MSG1 "XYZ ADAPTER"
$
$ Leave line spacing as shown.  See general notes on length of title line.
$set SRNS
$ ---------------------------------------------------------------
$ Reason code set used by device type "XYZ"
R_XYZ_ADAPTER "An error was found on the adapter."
R_V35_CABLE "An error was found with the XYZ interface adapter cable."
R_ELA "Error log analysis indicates a hardware error."
R_DD "Adapter hardware has caused a software failure."
F_XYZ_DRAM "DRAM SIPs on the adapter card"
$ DRAM stands for Dynamic Random Access Memory.  SIP stands for
$ Single In-line Package.
CABLEFRU "Cable Part Number xxxxxxxx"
$set Q_PLUG_37_PIN
 
Q_PLUG_37_PIN_TITLE "TESTING XYZ ADAPTER IN ADVANCED MODE\n\n\
The following test requires a 37 pin wrap plug, Part Number xxxxxxx.\n\n\
Do you have this wrap plug ?"
$
$ Check for appropriate part number in translating country.
$ Leave line spacing as shown.  See general notes on length of title line.
 
Q_PLUG_37_PIN_YES "YES"
$ This option is shown when a YES answer is possible.
 
Q_PLUG_37_PIN_NO "NO"
$ This option is shown when a NO answer is possible.
Q_PLUG_37_PIN_ACTION "Move cursor to selection, then press Enter."
$ This message is shown when a multiple selection list is presented.
$set PLUG_37_PIN
$ 
PLUG_37_PIN_TITLE "TESTING XYZ ADAPTER IN ADVANCED MODE\n\n\
REMOVE.........the cable, if attached, from the adapter in\n\
               location %1$s.\n\
PLUG...........the wrap plug (Part Number xxxxxxx) into\n\
               the adapter.\n\n\
When finished, press Enter."
$ 
$ %1$s is the location of the adapter as described in the general notes.
$ See general notes on how to expand ACTION lines if necessary.
$ Check for appropriate part number in translating country.
$ Leave line spacing as shown.  See general notes on length of title line.
$set UNPLUG_37_PIN
$ 
UNPLUG_37_PIN_TITLE "TESTING XYZ ADAPTER IN ADVANCED MODE\n\n\
UNPLUG.........the wrap plug from the adapter.\n\
PLUG...........the interface cable, if it was removed,\n\
               into the adapter.\n\n\
When finished, press Enter."
$ 
$ This line instructs the user to restore things to the original state 
$ after testing is done.
$ See general notes on how to expand ACTION lines if necessary.
$ Leave line spacing as shown.  See general notes on length of title line.
$set NO_RCM
$ 
NO_RCM_TITLE "902XXX \
XYZ OPERATIONAL MICROCODE IS MISSING\n\n\
The XYZ operational microcode is either\n\
missing or not accessible.\n\n\
This microcode is necessary in order to use the XYZ adapter card\n\
in normal system operations."
$ 
$ Leave line spacing as shown.  See general notes on length of title.
$ Do not translate the number 902XXX at the beginning of the message.
$ Leave it exactly as shown.
   


[ Previous | Next | Contents | Home | Search ]