Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

Anchor
1031281
1031281
In this example, a command generates the following stderr file.

Panel

Html bobswift

<pre>
Error opening rc file /etc/arc.rc
No rc file opened.
Ending due to error.
</pre>

Anchor
1031287
1031287
From the contents of the message file, we can see that the program failed to open a resource configuration file.

Anchor
1031288
1031288
Either of the following translation tables could match error messages in the message file. Message masks should be general enough to match a set of error messages.

Translation Table 1

Panel

Html bobswift

<pre>
# UMET Translation Table 1
#
# Message Mask                Exit Code    
# ------------                ---------
  "*error*"                   8  
</pre>

Anchor
1031294
1031294
Translation Table 1 will result in a match if any input line contains the word error. The resulting exit code will be 8 if a match occurs.

Translation Table 2

Panel

Html bobswift

<pre>
# UMET Translation Table 2
#
# Message Mask                Exit Code
# ------------                ---------
 "Ending due to error."       8  
</pre>

Anchor
1031300
1031300
Translation Table 2 will result in a match only if the exact message text "Ending due to error." appears as a line in the input file. This is less general, but may be sufficient for this command.

...

Anchor
1031308
1031308
In this example, the command now generates the following stderr file.

Panel

Html bobswift

<pre>
Error opening rc file /etc/arc.rc
Processing rc file /usr/etc/arc.rc
Ending successfully
</pre>

Anchor
1031314
1031314
From the contents of the message file, we can see that the program failed to open a resource configuration file /etc/arc.rc, but successfully opened file /usr/etc/arc.rc.

...

Anchor
1031315
1031315
The following translation table is one of many that could match error messages in the message file.

Panel

Html bobswift

<pre>
# UMET Translation Table 1
#
# Message Mask                Exit Code    
# ------------                ---------
  "Ending due to error."      8            
  "Processing rc file *"      0            
  "Error opening rc file *"   8 
</pre>

Anchor
1031322
1031322
Translation Table 1 contains three entries:

...