CIB merge technical documentation (EN)

12. Annex

12.2. Program return values

The following list gives an overview of possible error returns by CIB merge. There are interfaces for application developers CoMod to query the text of an error number directly and to help the end user with concrete hints.

With version 3.11 of CIB merge the return values have been changed. Essentially they have been moved from the range 0-20 to the new range 800-820. In the future, the error numbers 800-850 are reserved for CIB merge.

To look up the error numbers of older CIB merge versions, please add 800 to the amount of the last two digits. Examples: 4 -> 804, 302 -> 802.

The error numbers have the following meaning:

Return value

Description

-1

The mixing job was cancelled by the user.

Cause: In the percentage display the "Cancel" button was pressed or the ESC key was triggered.

0

Everything OK.

801

invalid parameter identification

parameters without parameter identification

no input file specified for document

syntax: -wHWND;WINID

compressed output only possible with files (not with standard input and output)

802

file is corrupt

803

file not found

file already exists

file is used by another process

read access to file not allowed

write access to file not allowed

FD/HD memory is full

access to file not allowed

Has to do with file accesses:

Experience from the support:

1) On explicit request, merge already writes a temporary file. A non-existing TEMP directory is set by patch or environment.

More concrete: Environment variable CIB_MRGINTERMEDIATE or patch at the position g_pszIntermediate[]= "\0INTERMEDIATE".

You can also specify such an intermediate file by call parameters:
--INTERMEDIATE=C:\TEMP\intermediate.rtf
--INTERMEDIATEFILE=C:\TEMP\intermediate.rtf
--ZWISCHENDATEI=C:\TEMP\intermediate.rtf
--ZWISCHENERGEBNIS=C:\TEMP\intermediate.rtf

 

804

file not found

syntax error when determining a data source

file is not positionable

file is default input/output device

no file name specified

805

message of the parser for time values ...

message of the scanner/parser for printout field ...

no database access object created

807

parameter does not exist anymore

parameter lost

808

corrupt RTF formatting

wrong control worlds

809

document is empty

810

bookmark of expression not found

alias name not found

syntax error: ...

division by 0

0 exponent 0

negative base high non-integer exponents

wrong number of parameters

unknown field statement

unknown comparison operator in condition

invalid information identifier

value behind info is not correct

unknown switch

no control file

unknown variable

syntax error: " missing {.. " ..}

811

no connection to database

SQL statement not executed correctly

not correctly separated from the database

error from database access object

could not determine line number

alias names exist multiple times

could not put on the first line

812

time  was calculated incorrectly

weekday was calculated incorrectly

month was incorrectly calculated

accessors incompatible

invalid index

illegal Index

illegal status

too few fields in the data set

too many fields in the data set

invalid separator

message of the parser for time values ...

message of the scanner/parser for printout field ...

invalid information identifier

invalid field command

advance outside the borders

unexpected end of list

ring buffer too small

search tree for RTF token is defective

read was called without prior endOfMem check

block too large

"default:" reached

invalid source code page

invalid target code page

itoa called with base!=10!

document variables not known

813

in current context invalid values/data

814

cancellation by user

815

CIB merge encounters an unimplemented field statement / field switch (e.g., typo for switches in REF \* xxxxx )

817

functionality not implemented yet

818

allowable total size exceeded

819

endless inclusion detected

820

error in Recombine

821

maximum execution time exceeded