Top
NetCOBOL V11.0 CGI Subroutines User's Guide
FUJITSU Software

Appendix B Error Handling

If an error is detected during execution of a CGI subroutine, the CGI subroutine handles the error.

An error message is output in the following format:

COB-message-number:COBW3:message-text

COB-message-number: Indicates a message serial number.

message-text: Indicates the contents of the message.

The following table lists the message numbers and text of messages which may be output:

Message number

Message text

01100

It is thought that the work area or the object was destroyed. Check the object of the Web subroutine and the usage of the area.

01500

The Web subroutine cannot operate correctly in the calling COBOL application operation code system.

01501

The operation state of the calling application is abnormal. The Web subroutine cannot operate normally.

02050

Search character string length specified as a negative value. The processing continues as if 0 was specified.

02051

A value was specified that exceeds the limit for the character string length of the search string. The processing continues assuming that the maximum length was specified.

03000

Web application was called by a method without GET or POST.

03001

COBW3_INIT was called two times or more. Please call COBW3_FREE a second time before the call.

03002

The work area of the Web subroutine could not be acquired.

03003

The length of data retrieved by the GET method exceeds the limit. The characters are truncated at the maximum.

03020

The data that was passed by POST or GET was not acquired successfully.

03030

Failed in the acquisition of the work area of the Web subroutine.

03040

Uploaded file information could not be acquired.

03041

The Web parameter can't be processed because failed to acquire header information.

03042

multipart/form-data is specified for ENCTYPE of the FORM tag though the method is things except POST. The Web parameter and uploaded file information could not be acquired.

03045

An error in processing the output to the browser.

03065

Environment variable @CBR_WEB_OUT_CODE was set incorrectly. It is assumed that the conversion code was not set

03200

Conversion from UTF-8 to UCS-2 failed.

03201

Conversion from UCS-2 to UTF-8 failed.

03700

A code was specified that could not be recognized as a character. Processing continues.

03701

EUC and SJIS character strings are intermingled. Processing continues.

03850

Cookie was not acquired successfully.

04000

There is no Web parameter.

04001

The Web parameter length is 0.

04006

A negative value or "0" was specified for COBW3-NUMBER. The processing continues as if 1 was specified.

04008

The length of VALUE data exceeds the limit. The string is truncated to the supported length.

04009

The data passed with POST or GET method was nothing.

04400

The conversion name is not specified. Please set the conversion name.

04401

A negative value was specified for character string length of the conversion name. The processing continues as if 0 was specified.

04402

A value was specified that exceeds the limit for character string length of the conversion name. The processing continues assuming the maximum length was specified.

04408

The length of VALUE data exceeds the limit. The string is truncated to the supported length.

04450

Failed to delete the variable name specified in COBW3-CNV-NAME because it could not be found in the registered information.

04470

Failed to change the variable name specified in COBW3-CNV-NAME because it could not be found in the registered information.

04480

Failed to delete the variable name specified in COBW3-CNV-NAME.

05000

Failed in the execution of the system command.

05001

The system command is not specified.

05500

The file name is not specified. Please set the file name.

05501

There is no uploaded file information.

05510

Failed to acquire the path name in the client of the uploaded file.

05511

The character string length of the path name in the client of the uploaded file exceeded the limitation. The string is truncated to the supported length.

05520

Failed to acquire the file name in the client of the uploaded file.

05521

The character string length of the file name in the client of the uploaded file exceeded the limitation. The string is truncated to the supported length.

05530

Failed to acquire the content type of the uploaded file.

05531

The character string length of the content type of the uploaded file exceeded the limitation. The string is truncated to the supported length.

05550

The file was not generated because the specified file name had already existed.

05551

Failed to generate the file.

05552

Failed to generate data in the subroutine. The generated file can't be deleted with COBW3_DEL_UPLOADEDFILE.

05580

The specified file name is not a file generated in the same thread. The file was not deleted.

05581

Failed to delete the specified file.

06100

An I-O error occurred in the OPEN process of the specified HTML document file.

06101

An I-O error occurred in the READ process of the specified HTML document file.

06102

The length of the specified HTML document file is 0.

06105

A conversion name in the HTML document was not registered using COBW3_CNV_SET. Please register the conversion data using COBW3_CNV_SET.

06106

Failed in the output because the output work area of the HTML document was insufficient. Please confirm the conversion data length corresponding to the conversion name.

06107

Failed in the output because an error was found in the specified form of the conversion name within the HTML document.

06108

The string length of the specified conversion name is too long. Check the conversion name.

06120

Failed to output the HTML document to the WWW server.

06130

The number of characters in one line of the HTML document exceeds the limit. The string is truncated to the supported length.

06300

The conversion name is not specified. Please set the conversion name.

06301

A negative value was specified for character string length of the conversion name. The processing is continued regarding for 0 to have been specified.

06302

A value was specified that exceeds the limit for character string length of the conversion name. The processing continues assuming the maximum length was specified.

06303

The conversion character string is not specified. Please confirm the conversion character string.

06304

A negative value was specified for character string length of the conversion character string. The processing continues assuming 0 was specified.

06305

A value was specified that exceeds the limit for character string length of the conversion character string. The processing continues assuming the maximum length was specified.

06310

The specified variable name has already been registered. The old conversion information remains effective.

06320

Failed in registration because the registration work area for the conversion information was insufficient. Please register again after calling COBW3_CNV_INIT and initializing conversion information.

06330

Failed to delete conversion information.

06502

Unexpected error occurred in writing data on standard output.

06503

A negative value was specified for the length of the string to be output. The processing continues assuming 0 was specified.

06504

A value was specified that exceeds the limit for output character string length. The processing continues assuming the maximum length was specified.

06700

COBW3_PUT_HTML or COBW3_PUT_TEXT has already been called. The output request for the header is invalid.

06704

A negative value was specified for COBW3-PUT-HEAD-LENGTH. The processing continues assuming 0 was specified.

06706

A value was specified that exceeded the limit for COBW3-PUT-HEAD-LENGTH. The processing continues assuming the maximum length was specified.

06708

The object output as a header was not specified.

06710

A value that had already been output and a different value were specified for COBW3-CONTENT-TYPE.

06714

A value that had already been output and a different value were specified for COBW3-STATUS-CODE.

06730

An error not anticipated in the declaration of Content-type occurred.

06734

An error not anticipated in the declaration of Status-code occurred.

06736

Unexpected error occurred in declaration of specified header.

06738

An error not anticipated in the declaration of Content-length occurred.

06742

Failed in the output of the specified header.

06746

The output of the header could not be completed.

07010

The user name was not able to be acquired.

07011

The character string length of the user name exceeded the limitation. The maximum length is made effective.

07020

The password was not able to be acquired.

07021

The character string length of the password exceeded the limitation. The maximum length is made effective.

07030

The IP address was not able to be acquired.

07031

The character string length of the IP address exceeded the limitation. The maximum length is made effective..

07040

The authentication type was not able to be acquired.

07041

The character string length of the authentication type exceeded the limitation. The maximum is made effective.

08004

A negative value was specified for COBW3-HEADER-NAME-LENGTH. The processing continues assuming 0 was specified.

08005

The script-name could not be acquired.

08006

A value was specified that exceeded the limit for COBW3-HEADER-NAME-LENGTH. The processing continues assuming the maximum length was specified.

08008

COBW3-HEADER-NAME is not specified.

08010

Failed to acquire the HTTP header.

08020

The length of COBW3_HEADER_VALUE exceeds the limit. The string is truncated to the supported length.

08024

The HTTP header specified for COBW3_HEADER_NAME could not be found.

08030

The length of the corresponding value of the key-word exceeds the limit. The maximum length is used.

08101

The key-word was not specified. Please set the key-word.

08105

The key-word to be retrieved was not found in the interface file.

08108

The name of the interface file could not be acquired.

08110

An I-O error occurred by OPEN process of the interface file.

08114

An I-O error occurred by READ process of the interface file.

08118

An I-O error occurred by CLOSE process of the interface file.

08130

The length of the corresponding value of the key-word exceeds the limit. The maximum length is used.

08150

An I-O error occurred in Web subroutine.

08500

COBW3_PUT_HTML or COBW3_PUT_TEXT has already been called. Operation to cookie is invalid.

08510

The cookie name is not specified. Set the cookie name.

08512

A negative value was specified for the string length of the cookie name. The processing continues assuming 0 was specified.

08514

A value was specified that exceeded the limit for the string length of the cookie name. The processing continues assuming the maximum length was specified.

08520

The cookie value is not specified. Set the cookie value.

08522

A negative value was specified for the string length of the cookie value. The processing continues assuming 0 was specified.

08524

A value was specified that exceeded the limit for the string length of the cookie value. The processing continues assuming the maximum length was specified.

08530

Failed to change the specified cookie data because it was not registered.

08532

The specified cookie name has already been registered. The old cookie data remains effective.

08540

A date before Oct 15, 1582 is not valid as a cookie period. The period is assumed not to have been specified.

08541

The year for the cookie period is not specified correctly. The period is assumed not to have been specified.

08542

The month for the cookie period is not specified correctly. The period is assumed not to have been specified.

08543

The day for the cookie period is not specified correctly. The period is assumed not to have been specified.

08544

The hour for the cookie period is not specified correctly. The period is assumed not to have been specified.

08545

The minute for the cookie period is not specified correctly. The period is assumed not to have been specified.

08546

The second for the cookie period is not specified correctly. The period is assumed not to have been specified.

08550

An invalid value was specified for the cookie security. The security is assumed not to have been specified.

08560

An invalid value was specified for the cookie registration type. The registration type is assumed not to have been specified.

08570

Failed in registration because the registration work area for the cookie data was insufficient. Please register again after calling COBW3 _INIT_COOKIE to initialize conversion information.

08610

Failed to delete the specified cookie data because it was not registered.

08620

Failed to delete the specified cookie data.

08710

An invalid value was specified for the initialization type of cookie information. The initialization type is assumed not to have been specified.

08720

Failed in initialization of the request data by cookie information because the registration work area for the cookie information was insufficient.

08810

The length of the cookie value exceeded the limit. The string is truncated to the supported length.

08820

Cookie data was not sent from the client.

09001

The correct value is not specified for COBW3_REQUEST_INFO_TYPE.

09010

Failed to acquire the request.

09020

The length of COBW3_REQUEST_INFO exceeded the limit. The string is truncated to the supported length.

09500

COBW3_CNV_SET can't be used in the Unicode environment.

09501

COBW3_CNV_DEL can't be used in the Unicode environment.

09502

COBW3_NAME can't be used in the Unicode environment.

09504

COBW3_VALUE can't be used in the Unicode environment.

09520

This subroutine can't be used in the ASCII environment.

99999

Can't open message catalog.