-
Notifications
You must be signed in to change notification settings - Fork 18
/
rwlerror.html
155 lines (114 loc) · 4.15 KB
/
rwlerror.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!-- Creator : groff version 1.22.3 -->
<!-- CreationDate: Mon Mar 18 08:51:07 2024 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</style>
<title>rwlerror</title>
</head>
<body>
<h1 align="center">rwlerror</h1>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#USAGE">USAGE</a><br>
<a href="#EXAMPLE">EXAMPLE</a><br>
<a href="#EXIT VALUE">EXIT VALUE</a><br>
<a href="#NOTES">NOTES</a><br>
<a href="#COPYRIGHT">COPYRIGHT</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<hr>
<h2>NAME
<a name="NAME"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">rwlerror
− Provide details about an error from the RWP*Load
Simulator</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>rwlerror [nn
...]</b></p>
<h2>DESCRIPTION
<a name="DESCRIPTION"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">If RWP*Load
Simulator finds an error during parse or execute, it will
generate an error message with an RWL- error number,
location and error text. The location consists of file name
and line number between square brackets; if there is a call
stack, the left most file name and line number is the
deepest location in the stack. The error text is a short
description of the error. To get further details about the
error, use the rwlerror program.</p>
<p style="margin-left:11%; margin-top: 1em">An example of
an error is</p>
<p style="margin-left:11%; margin-top: 1em">RWL-022: error
at [div.rwl;5]<-[calldiv.rwl;8]: attempted division by
zero</p>
<p style="margin-left:11%; margin-top: 1em">which tells
that at line 5 in the file div.rwl a division by zero was
attempted; this location is in a procedure that was called
from line 8 in the file calldiv.rwl.</p>
<p style="margin-left:11%; margin-top: 1em">Note that in
most cases, operation <i>continues</i> after an execution
error, which potentially leads to further errors.</p>
<h2>USAGE
<a name="USAGE"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">You simply
provide one or more RWL- error numbers as arguments to
<b>rwlerror</b>. You can optionally prefix the number with
RWL-.</p>
<h2>EXAMPLE
<a name="EXAMPLE"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">As an example,
if you execute <tt>rwlerror RWL-001 99 22</tt>, the output
will be:</p>
<pre style="margin-left:17%; margin-top: 1em">RWL-001 error: "cannot open ’%s’ for reading"
The file named could not be opened for reading.
This error can happen in several places including:
- processing an input file argument to rwloadsim
- the $include directive.
RWL-099 warning: "no input files"
At least one input file must be provided to rwloadsim.
RWL-022 error: "attempted division by zero"
The right operand of a / or % operation is zero,
operation continues using the left operand as result.</pre>
<h2>EXIT VALUE
<a name="EXIT VALUE"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">If all numbers
provided are existing RWL- error numbers, rwlerror will exit
with success (0). Otherwise, it will exit with the value
1.</p>
<h2>NOTES
<a name="NOTES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Error numbers
are not guaranteed to be consistent between versions of
rwloadsim.</p>
<h2>COPYRIGHT
<a name="COPYRIGHT"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Copyright
© 2023 Oracle Corporation <br>
Licensed under the Universal Permissive License v 1.0 as
shown at https://oss.oracle.com/licenses/upl</p>
<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><a href="rwloadsim.html">rwloadsim(1rwl)</a></p>
<hr>
</body>
</html>