D_msg - messages of D-commands
[ English | Japanese ]
D-commands are rather taciturn programs
which do not produce unnecessary messages.
But, still they have some warning messages
as well as error messages.
Format of a message is
command:
message-text.
where
command
is in the form you typed,
and message-texts are listed in the following section.
This is the most hardest cases,
and you may suspect the command doesn't work.
Before that,
you should check
- 1.
- if it is waiting for an input.
Even the author often makes mistake like:
Djoin -o xx file-1 file2
DfromLine file-1
in both cases, mandatory argument is missing.
The command takes file-1 as field name
argument and tries to read standard input.
- 2.
- if it is still processing normally.
For example,
Dfd,
Dfreq,
Dmeans,
or
Dsort
does not produce output until it reads
all the input records and process them.
It can consume considerable time
when the input file is really big.
You can estimate the processing time
with feeding smaller input file to the same command.
- 3.
- if it is a bug.
You can write to the author,
or you can fix it by yourself
(if you have the source program).
- absolute position of the field field is not allowed in Dpack/Dunpack.
- (D-command:
Dpack,
Dunpack).
It is by these command specifications.
You might make a mistake in format string.
- can't allocate necessary memory!
- (D-command:
Ded,
Dpr,
Dselect,
Dtail,
Dupdate).
During the initial process of programs,
or Dl interpretation,
by some reason, it failed to allocate memory.
Usually, this does not occur.
Or in
Dpr,
this may occur during page output process.
In this case, giving smaller
-x
or
-y
value may solve the problem.
- can't allocate storage for storage-name=size.
- (D-command:
all).
During initialization process,
the program failed to allocate the named storage.
This does not occur under normal conditions.
- can't create tmpfile number.
- (D-command:
Dsort).
Dsort
has failed to create the numbered temporary file.
Probably,
the disk is full,
or you provided wrong directory for temporary file directory
(either by -T option or TMPDIR, TEMP environment).
- can't open file-name.
- (D-command:
all).
Popular message for the failure of opening file.
You might mistyped the file name,
or make a mistake in options and the option is
regarded as a file name...
- can't resize storage-name
- (D-command:
all).
When this message comes,
your record is really too big to fit in the available memory,
or the process needs too large memory,
e.g., too many same key records for
Djoin,
etc.
This will also happen when you give non existent field names
for the key field of above commands (by mistake),
as all the records will have NULL key value.
If you really want to run it,
you may setup larger virtual memory for your OS,
though, it hardly is practical.
There is few things to do with this message,
unless it is issued by just a bug.
It is recommended to seek a detour.
- cfmt is not allowed with f option in the field field-name.
- (D-command:
DfromLine,
Dpack,
Dtie,
Dunpack,
Duntie).
It is by the D-format specification.
- code error in the type argument.
- (D-command:
all).
It means the
type
argument is not correctly coded under the current locale.
This happens when you invoke a shell script written in
different locale.
- code error in the option option.
- (D-command:
all).
The option is not correctly coded under the current locale.
This happens when you invoke a shell script written in
different locale.
- code error in the file file-name(line).
- (D-command:
Ded,
Dgrep,
DfromLine),
Dselect).
It means the
line
line of the file
file-name
is not correctly coded under the current locale.
This happens when your
Dl-input-file of
Ded,
Dselect,
pattern-file of
Dgrep
or input-file of
DfromLine
is not a text file,
or edited under different locale.
Or, your data might use private extension
in the undefined position of the code space.
Note that this type of code errors are not reported
in the input D-files.
They are just discarded without any message. (Except for Linux).
- code error in the file file-name(line), irrecoverable.
- (D-command:
all).
This means same thing as above message,
or same kind of error in the input D-file.
In Linux, it is hard to recover from this error,
and the application stops.
- -D name is unknown.
- (D-command:
all).
In
Dsort,
-D xmem=
option is used.
When you mistype "xmem",
this message appears.
- end position and * conflicts in the format of the field field-name.
- (D-command:
DfromLine,
Dunpack,
Duntie).
It is by specification of D-format.
You might make mistake in format specification.
- exclusive list is not allowed for -L/S option.
- (D-command:
Dunbundle,
Dtie).
In leading field algorithm or sequence break algorithm,
the leading field or field sequence must be explicitly specified.
Exclusive field-list can not give this information.
You have to specify all the fields in the leaf-field-list.
See
D_lsa.
Or, if your field name has `^',
you have to escape it by `\'.
- exclusive list is not allowed in -f/-i.
- (D-command:
Dpr).
Identification fields or field-formats must be given explicitly.
Or you might make a mistake in options.
Or, if your field name has `^',
you have to escape it by `\'.
- field field-name cfmt has more than one % at file-name(rec#).
- (D-command: DfromLine,
Dunpack,
Duntie).
It is by the specification of D-format.
Or just you might make mistype.
- field field-name current position exceeds end position at file-name(rec#).
- (D-command: DtoLine,
Dpack,
Dtie).
In the output format,
when the command attempts to output the field,
output line was already longer than the specified end position.
You might make a mistake in the format for preceding fields.
- field field-name end position is smaller than the start at file-name(rec#).
- (D-command:
DfromLine,
Dunpack,
Duntie).
In the input format,
when the command attempts to input the field,
current position was already beyond the specified end postion.
You might make a mistake in the format for preceding fields.
- field field-name start position exceeds the end of line at file-name(rec#).
- (D-command:
DfromLine,
Dunpack,
Duntie).
In the input format,
when the command attemts to input the field,
input line was shorter than the start position.
Input might not be what you assumed,
or you might make a mistake in the column calculation.
Note that position is counted by characters, not by bytes.
- field field-name start position over at file-name(rec#).
- (D-command:
DtoLine,
Dpack,
Dtie).
In the output format,
when the command attempts to output the field,
output line was already longer than the specified start position.
You might make a mistake in the format for preceding fields.
- field field-name truncated by the end of line at file-name(rec#).
- (D-command:
DfromLine,
Dunpack,
Duntie).
In the input format,
input line was shorter than the specified end position or length.
Input data might not be what you think,
or you might make a mistake in the format.
- field-list is required for -g/p.
- (D-command:
Dpr).
These field-lists can not be null.
- f option of the field field-name is not allowed in Dpack/Dunpack.
- (D-command:
Dpack,
Dunpack).
It is by specification of these commands.
You might make a mistake in format option.
Or you have given f option with -z option.
- format delimiter or pattern matches null in the field field-name.
- (D-command:
DfromLine,
Dunpack,
Duntie).
In the input format,
delimiter (/../) or pattern (@..@)
must not matches to null string.
(Otherwise,
it produces only null string values).
For example, /\ */ (zero or more spaces)
matches null string.
Use /\ +/ (one or more spaces) for such case.
Check your format delimiter pattern.
- format syntax error in the field field-name at 'char'.
- (D-command:
Dunbundle,
DfromLine,
DtoLine,
Dpack,
Dunpack,
Dtie,
Duntie,
Dpr).
Study the manual of
D_fmt.
Escaping special character is tricky.
Consider using
-t
option.
- insufficient storage-name
- (D-command: all).
You won't see this message in the current version
in normal condition.
Please contact to the author.
- insufficient xmem(size) at file-name(rec#).
- (D-command: Dsort).
Working memory is not large enough to accommodate
the
rec#
record in the
file-name.
Give larger xmem size (-D xmem=),
or input file might not be what you expected.
- invalid left hand of '=' for Dselect.
- (D-command:
Ded,
Dselect).
Assignment operator may be used in Dselect,
but only VAR or STATIC can be assigned value.
- key sequence error, stop at file-name(rec#)!
- (D-command:
Djoin,
Dupdate).
In these commands,
all input files must be sorted by the given key order.
The command reports that the
rec#
record of the file
file-name
was not in proper order.
- missing '}' after … .
- (D-command:
Ded,
Dselect).
There is "{", but not corresponding "}" in the give Dl.
Note that these tokens must be separated by spaces.
- missing arg after 'CONST' at … .
- (D-command:
Ded,
Dselect).
The last word of given
Dl
is the "CONST""
which requires following word.
Check if you made a mistake in continuation line.
Or, to use these words as a constant or a field name,
these words must come after proper keyword.
- missing field name after 'FIELD' at … .
- (D-command:
Ded,
Dselect).
The last word of given
Dl
is the `FIELD'
which requires following word.
Check if you made a mistake in continuation line.
Or, to use these words as a constant or a field name,
these words must come after proper keyword.
- missing variable name at … .
- (D-command:
Ded,
Dselect).
The last word of given
Dl
is the `VAR', or 'STATIC'
which requires following word.
Check if you made a mistake in continuation line.
Or, to use these words as a constant or a field name,
these words must come after proper keyword.
- no new field name for the field field-name.
- (D-command:
Drename).
Field-rename-list is old-name:new-name.
- OUTPUT is not allowed in Dselect.
- (D-command:
Dselect).
You can't use OUTPUT in Dselect.
- pattern is not allowed in output format in the field field-name.
- (D-command:
Dunbundle,
DfromLine,
DtoLine,
Dpack,
Dunpack,
Dtie,
Duntie,
Dpr).
Check the format-list, or you might mistyped the command.
- program error (identifier).
- (D-command:
Ded,
Dselect).
Please write to the author.
- -r and -g is exclusive.
- (D-command:
Dmeans).
This is by
Dmeans
specification.
If you want both,
run the command twice with
-r
and
-g.
- record-number-list syntax error at position.
- (D-command:
Dextract).
Check your mistype, or you might mistyped the command.
- regular expression error (detail) in position
- (D-command:
Ded,
DfromLine,
Dgrep,
Dselect,
Dunpack,
Duntie).
Regular expression patterns are compiled when necessary.
During compilation, error showed by
detail
has found.
The
position
shows the regular expression itself,
file name and rec#,
or option name etc.
- skips a NULL character in the file file-name(rec#).
- (D-command:
Dgrep,
DfromLine).
It means the
rec#
line of the file
file-name
contains a null character,
and removed from the input.
This happens when your pattern-file of
Dgrep
or input-file of
DfromLine
is not a text file,
or edited under different locale.
Note that null characters are not reported
in the input D-files.
They are just discarded without any message.
- start > end error in the field field-name.
- (D-command:
Dunbundle,
DfromLine,
DtoLine,
Dpack,
Dunpack,
Dtie,
Duntie,
Dpr).
Format of the
field-name
field has absolute positioning and its start is greater than end.
- syntax error at the arguemnt number (value).
- syntax error at the end of arguemnt (number).
- syntax error at line number, char position.
- (D-command:
Ded,
Dselect).
Dl
syntax error.
Check if field names or constants are reserved words.
Check if operators and parentheses are popoerly quoted.
- -t delimiter matches null string.
- (D-command:
DfromLine,
Dunpack,
Duntie).
In the input format,
-t delimiter pattern, as well as other delimiters or patterns,
must not matches to null string.
(Otherwise,
it produces only null values).
For example, /\ */ (zero or more spaces)
matches null string.
Use /\ +/ (one or more spaces) for such case.
Check your
-t
delimiter.
- tmpfile exhausted (number).
- (D-command:
Dsort).
This means number of temporary files exceeds 21176!
Your file system must be extraordinary big.
You should increase xmem, if it is truly so.
- too long -i fields!
- (D-command:
Dpr).
Identification field(s) is too long to fit in a page width.
The field may not be what you expect.
- too small page size, stop!
- (D-command:
Dpr).
Page height (
-y
option) is not big enough to accommodate header lines.
Use larger
-y
value,
or giveup some title lines.
- unexpected eof after continuation line at file-name(rec#).
- (D-command:
DfromLine).
During input with
-c
option,
the last line of a file was continuation line.
The last line is discarded from the input.
- unknown key flag 'flag' in position.
- (D-command: Dcat,
Dfd,
Dfreq,
Dbundle,
Dmeans,
Dsort,
Djoin,
Dupdate,
Dpr).
Key flag must be combination of `b', `d', `f', `i', `n', `r'.
- unknown token word at &hellip .
- (D-command:
Ded,
Dselect).
In Dl, non reserved word word appears
out of context position.
You may mistyped one of the keywords.
- unknown qualifier.
- (D-command:
Ded,
Dselect).
Directly after a field-name of Dl,
only numeric qualifier :n can be placed.
It is not key flag or format.
- unterminated quotation from line number char position.
- (D-command:
Ded,
Dselect).
Quoting is not closed properly in the Dl-input-file.
It must be mistype of QUOTATION MARK, APOSTROPHE or REVERSE SOLIDUS.
- with -c option, -o option's top must be '1'.
- (D-command:
Djoin).
It is Djoin's specification that te first input file record must be included in the output.
- -z option error 'character'.
- (D-command: Dunbundle,
DfromLine,
DtoLine,
Dpack,
Dunpack,
Dtie,
Duntie,
Dpr).
It's not a valid format option.
See
D_fmt.
- zero division at file-name(rec#).
- (D-command:
Ded,
Dselect).
Division by zero (DIV or MOD operation) occurred
during the evaluation of an expression.
If
file-name
and
rec#
is not shown,
it has occurred during initial constant evaluation.
- zero length field repeats in the field field-name.
- (D-command:
DfromLine,
Dunpack,
Duntie).
Input format length may be zero only when it does not repeat,
otherwise it loops.
Dintro.
AUTHOR
MIYAZAWA Akira
miyazawa@nii.ac.jp
2003